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 * The specification does not provide any means for a program to access [[class]] value except through Object.prototype.toString
6 *
7 * @path ch08/8.6/8.6.2/S8.6.2_A3.js
8 * @description Get [[class]] value except through Object.prototype.toString
9 */
11 var __obj={};
12 //////////////////////////////////////////////////////////////////////////////
13 //CHECK#1
14 if (__obj.toString() !== "[object " + 'Object' + "]"){
15 $ERROR('#1: var __obj={}; __obj.toString() === "[object " + \'Object\' + "]". Actual: ' + (__obj.toString()));
16 }
17 //
18 //////////////////////////////////////////////////////////////////////////////