JS关键字 import

今天开发时使用import作为方法名,报错

 后查明报错原因:import是js中的关键字,在取方法名时不能取import

原文地址:https://www.cnblogs.com/wangzh1guo/p/9512677.html