7 lines
235 B
JavaScript
7 lines
235 B
JavaScript
'use strict';
|
|
|
|
module.exports = (context, badBrowser) => ({
|
|
'AssignmentExpression[operator="**="], BinaryExpression[operator="**"]'(node) {
|
|
context.report(node, `Exponentiation Operator is not supported in ${badBrowser}`)
|
|
}
|
|
})
|