blob: 3afac8afb533a6f75f54bdc179cc001b1ccf3ed2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
Since the Object prototype object is not a function, it has not [[call]]
method
es5id: 15.2.4_A3
description: Checking if calling Object prototype as a function fails
---*/
assert.throws(TypeError, function() {
Object.prototype();
});
|