// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * The length property of the toString method is 0 * * @path ch15/15.2/15.2.4/15.2.4.2/S15.2.4.2_A11.js * @description Checking the Object.prototype.toString.length property */ //CHECK#1 if (!(Object.prototype.toString.hasOwnProperty("length"))) { $ERROR('#1: The length property of the toString method is 0'); } //CHECK#2 if (Object.prototype.toString.length !== 0) { $ERROR('#2: The length property of the toString method is 0'); }