line-terminator.js (549B)
1 // Copyright (C) 2019 Leo Balter. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 esid: sec-multiplicative-operators-runtime-semantics-evaluation 6 description: Line terminator between the operands of a modulus operator 7 info: | 8 MultiplicativeExpression[Yield, Await]: 9 ExponentiationExpression 10 MultiplicativeExpression MultiplicativeOperator ExponentiationExpression 11 12 MultiplicativeOperator : one of 13 * / % 14 ---*/ 15 16 var x = 18 17 18 % 19 20 7 21 22 % 23 24 3 25 ; 26 27 assert.sameValue(x, 1); 28 29 reportCompare(0, 0);