blob: 3ec90e2d8b3920a7c3e9f75f0dfe239536174489 [file] [log] [blame]
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-multiplicative-operators-runtime-semantics-evaluation
description: Line terminator between the operands of a modulus operator
info: |
MultiplicativeExpression[Yield, Await]:
ExponentiationExpression
MultiplicativeExpression MultiplicativeOperator ExponentiationExpression
MultiplicativeOperator : one of
* / %
---*/
var x = 18
%
7
%
3
;
assert.sameValue(x, 1);