开发者

JSLint It is not necessary to initialize undefined

开发者 https://www.devze.com 2022-12-16 10:50 出处:网络
While validating my JavaScript code in JSLint (www.jslint.com). I got a error I\'ve never seen before. Is this something new ?

While validating my JavaScript code in JSLint (www.jslint.com). I got a error I've never seen before. Is this something new ?

It tells me that:

It is not necessary to initialize 'i' to 'undefined开发者_运维问答'. On this:

var i = 0,
    l = data.d.ResponseData.length,
    x;

Does anyone know what this means?

..fredrik


It was a bug introduced in the most recent update. It has since been fixed.

0

精彩评论

暂无评论...
验证码 换一张
取 消