2011-10-03 13:04:52 -07:00

14 lines
467 B
JavaScript

// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @path ch15/15.2/15.2.4/15.2.4.2/S15.2.4.2_A16.js
* @description Let O be the result of calling ToObject passing the this value as the argument.
*/
if (Object.prototype.toString.call('foo') !== "[object String]") {
$ERROR('Let O be the result of calling ToObject passing the this ' +
'value as the argument.');
}