blob: b7c91f8e473cddd51d8d7cc8219b283b3973e3d0 [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: No ASI happening in identifier used as operands
info: |
MultiplicativeExpression[Yield, Await]:
ExponentiationExpression
MultiplicativeExpression MultiplicativeOperator ExponentiationExpression
MultiplicativeOperator : one of
* / %
---*/
var instance = 60;
var of = 6;
var g = 2;
var notRegExp = instance/of/g;
assert.sameValue(notRegExp, 5);