We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class
以下の変換を予定
class A { constructor(z) { this.mem = z * 10; } static a() { } b() { } static c = 0; d = 0; static #aa() { } #bb() { } static #cc = 0; #dd = 0; } new A(10);
変換後
let A = { new: @(z) { let this = {} // define method this.b = @() {} this.__bb = @() {} // inited property this.d = 0 this.__dd = 0 // constructor this.mem = z * 10 this }, // static method a: @() {}, __aa: @() {}, // static property c: 0, __cc: 0 } A.new(10)
これに対する成約
__
The text was updated successfully, but these errors were encountered:
No branches or pull requests
以下の変換を予定
変換後
これに対する成約
__
から始まる名前は使用不可 -> privateとの区別をするためThe text was updated successfully, but these errors were encountered: