mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-31 03:34:08 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			527 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			527 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // 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);
 |