michael@0: // Copyright 2009 the Sputnik authors. All rights reserved. michael@0: // This code is governed by the BSD license found in the LICENSE file. michael@0: michael@0: /** michael@0: * For the keyword null the typeof operator returns the "object" michael@0: * See also michael@0: * http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Operators:Special_Operators:typeof_Operator michael@0: * and michael@0: * http://bugs.ecmascript.org/ticket/250 michael@0: * for example michael@0: * michael@0: * @path ch08/8.2/S8.2_A3.js michael@0: * @description Check type of null michael@0: */ michael@0: michael@0: ////////////////////////////////////////////////////////////// michael@0: // CHECK#1 michael@0: if (typeof(null) !== "object") { michael@0: $ERROR('#1: typeof null === "object". Actual: ' + (typeof null)); michael@0: } michael@0: // michael@0: ///////////////////////////////////////////////////////////// michael@0: