Rule: no-unnecessary-initializer

Forbids a ‘var’/’let’ statement or destructuring initializer to be initialized to ‘undefined’.

Notes:
Has Fixer

Config

Not configurable.

Examples
"no-unnecessary-initializer": true
Schema
null