lib/rules/no-native-reassign.js
function checkVariable(variable) {
            if (variable.writeable === false && exceptions.indexOf(variable.name) === -1) {
                variable.references.forEach(checkReference);
            }
        }
function checkVariable(variable) {
            if (variable.writeable === false && exceptions.indexOf(variable.name) === -1) {
                variable.references.forEach(checkReference);
            }
        }
function checkVariable ( variable ) { if ( variable . writeable === false && exceptions . indexOf ( variable . name ) === - 1 ) { variable . references . forEach ( checkReference ) ; } }
Reports write references if a given variable is read-only builtin.
@param {Variable} variable - A variable to check.
@returns {void}
Reports write references if a given variable is read - only builtin .