1
// Copyright 2009 the Sputnik authors. All rights reserved.
2
// This code is governed by the BSD license found in the LICENSE file.
5
* The production x %= y is the same as x = x % y
7
* @path ch11/11.13/11.13.2/S11.13.2_A4.3_T1.4.js
8
* @description Type(x) and Type(y) vary between Null and Undefined
14
if (isNaN(x) !== true) {
15
$ERROR('#1: x = null; x %= undefined; x === Not-a-Number. Actual: ' + (x));
21
if (isNaN(x) !== true) {
22
$ERROR('#2: x = undefined; x %= null; x === Not-a-Number. Actual: ' + (x));
28
if (isNaN(x) !== true) {
29
$ERROR('#3: x = undefined; x %= undefined; x === Not-a-Number. Actual: ' + (x));
35
if (isNaN(x) !== true) {
36
$ERROR('#4: x = null; x %= null; x === Not-a-Number. Actual: ' + (x));