5 lines
151 B
JavaScript
5 lines
151 B
JavaScript
module.exports = (context, badBrowser) => ({
|
|
'Literal[bigint]'(node) {
|
|
context.report(node, `BigInts are not supported in ${badBrowser}`)
|
|
}
|
|
})
|