michael@0: // Copyright 2009 the Sputnik authors. All rights reserved. michael@0: // This code is governed by the BSD license found in the LICENSE file. michael@0: michael@0: /** michael@0: * Correct interpretation of all punctuators michael@0: * michael@0: * @path ch07/7.7/S7.7_A1.js michael@0: * @description Using all punctuators michael@0: */ michael@0: michael@0: //CHECK#1 michael@0: ({});[]; michael@0: this.NaN; michael@0: 1 < 2 > 3 <= 4 >= 5 == 6 != 7 === 8 !== 9; michael@0: 1 + 2 - 3 * 4 % 5 / 6 << 7 >> 8 >>> 9; michael@0: this.NaN++; ++this.NaN; this.NaN--; --this.NaN; michael@0: 1 & 2 | 3 ^ 4 && !5 || ~6; michael@0: 1 ? 2 : 3; michael@0: this.NaN = 1; this.NaN += 2; this.NaN -= 3; this.NaN *= 4; this.NaN /= 5; michael@0: this.NaN %= 6; this.NaN <<= 7; this.NaN >>= 8; this.NaN >>>= 9; michael@0: this.NaN &= 1; this.NaN |= 2; this.NaN ^= 3; michael@0: