# disallow the Math.log2 method (es/no-math-log2)

This rule reports ES2015 Math.log2 method as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-math-log2: error */ const n = Math.log2(value)
Now loading...

# 📚 References