var foo = {};class foo.Test extends createjs.Container{...}//這樣寫foo.Test直接報錯,難道必須先定義Test,然后foo.Test = Test;嗎?
關(guān)于es6 定義類的一點疑惑
一只斗牛犬
2018-08-13 11:10:42