Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /**
5 * For the keyword null the typeof operator returns the "object"
6 * See also
7 * http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Operators:Special_Operators:typeof_Operator
8 * and
9 * http://bugs.ecmascript.org/ticket/250
10 * for example
11 *
12 * @path ch08/8.2/S8.2_A3.js
13 * @description Check type of null
14 */
16 //////////////////////////////////////////////////////////////
17 // CHECK#1
18 if (typeof(null) !== "object") {
19 $ERROR('#1: typeof null === "object". Actual: ' + (typeof null));
20 }
21 //
22 /////////////////////////////////////////////////////////////