es6良好编码习惯On this page良好编码习惯消除强耦合 使用变量替换函数方法调用时的字符串 js12345678910//文件1const types = { type1:Symbol(), type2:Symbol(),}; //文件2