2

これの違いはどれですか:

foo = new Bar(someArgs);

この:

Bar.apply(foo = {}, [someArgs]);

Barコンストラクター関数であること

4

1 に答える 1