test262/test/language/expressions/exponentiation/exp-operator-syntax-error-logical-not-unary-expression-base.js
2016-02-22 14:47:47 -05:00

20 lines
351 B
JavaScript

// Copyright (C) 2016 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Rick Waldron
id: sec-unary-operators
description: >
ExponentiationExpression :
UnaryExpression
...
UnaryExpression :
...
`!` UnaryExpression
...
negative: SyntaxError
---*/
!1 ** 2;