blob: 20fc46662b867db38b47f4630cba6e0576d8deb2 [file] [log] [blame]
// Copyright 2011 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.3.4.2_A14
description: >
The toString function is not generic; it throws a TypeError
exception if its this value is not a callable object.
---*/
assert.throws(TypeError, function() {
Function.prototype.toString.call({});
});