JSLint No need to initialize undefined

When checking JavaScript code in JSLint (www.jslint.com). I have a mistake that I have never seen before. This is something new?

This tells me that:

There is no need to initialize 'i' to 'undefined'. About it:

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

Does anyone know what that means?

.. Fredrick

+3
source share
1 answer

This was a bug that appeared in the last update. It has since been fixed .

+5
source

Source: https://habr.com/ru/post/1728307/


All Articles