关于js报错Cannot read property 'length' of undefined

js报错Cannot read property 'length' of undefined时一般是传入的参数是undefined,这是在传入参数之前把undefined和null的情况剔除一般就行了。

posted @ 2019-04-09 15:36  ALEXJEE  阅读(21976)  评论(0编辑  收藏  举报