- **Version**: 6.2.2 - **Platform**: OS X - **Subsystem**: repl Use of (currently unsupported) exponentiation operator should throw `SyntaxError` rather than putting the user into multiline mode. Expected: ``` $ node > 2 ** 3 SyntaxError: Unexpected token * ``` Actual: ``` $ node > 2 ** 3 ... ... ... ... ``` Refs: https://github.com/nodejs/node/issues/7332 Refs: https://tc39.github.io/ecma262/2016/#sec-exp-operator
Activity
[-]repl: exponentiation operator SyntaxError swalled[/-][+]repl: exponentiation operator SyntaxError swalowled[/+][-]repl: exponentiation operator SyntaxError swalowled[/-][+]repl: exponentiation operator SyntaxError swallowed[/+]princejwesley commentedon Apr 3, 2017
working fine in master. closing it.