Inspectopedia Help

ES2015 migration aids

'for..in' is used instead of 'for..of'   New in this release

Reports a usage of a for..in loop on an array.

'let' is used instead of 'const'   New in this release

Reports a let declaration that can be made const.

'module.exports' is used instead of 'export'   New in this release

Reports a module.export statement.

'require()' is used instead of 'import'   New in this release

Reports a require() statement.

'var' is used instead of 'let' or 'const'   New in this release

Reports a var declaration that is used instead of let or const.

Function expression is used instead of arrow function   New in this release

Reports a function expression.

Indexed 'for' is used instead of 'for..of'   New in this release

Reports an indexed for loop used on an array.

String concatenation is used instead of template literal   New in this release

Reports a string concatenation.

Last modified: 11 September 2024