js报变量 is not a function

是变量名和函数名相同导致的

比如:

function a(){}

var a = a();

posted @ 2017-09-27 16:24  AlanLeung  阅读(744)  评论(0编辑  收藏  举报