📜  javascript 类以及如何导入它们 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:53.084000             🧑  作者: Mango

代码示例2
//import it
import Example from './file2';
//Create an Instance
var myInstance = new Example()
myInstance.test()