blob: b54a90c55c9a8c13f0ff589bd13eb895ff6331d6 [file] [log] [blame]
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: |
The Function prototype object is itself a Function object (its [[Class]]
is "Function")
es5id: 15.3.4_A1
description: Object.prototype.toString returns [object+[[Class]]+]
---*/
if (Object.prototype.toString.call(Function.prototype) !== "[object Function]") {
$ERROR('#2: The Function prototype object is itself a Function ' +
'object (its [[Class]] is "Function") (15.3.4)');
}