test262/test/suite/ch15/15.3/15.3.5/S15.3.5_A1_T2.js
2011-10-03 13:04:52 -07:00

18 lines
454 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* The value of the [[Class]] property is "Function"
*
* @path ch15/15.3/15.3.5/S15.3.5_A1_T2.js
* @description For testing use variable f = Function()
*/
var f = Function();
if (Object.prototype.toString.call(f) !== "[object Function]") {
$ERROR('#1: The value of the [[Class]] property is "Function"');
}