diff options
Diffstat (limited to 'test/built-ins/Function/prototype/apply/S15.3.4.3_A14.js')
-rw-r--r-- | test/built-ins/Function/prototype/apply/S15.3.4.3_A14.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/built-ins/Function/prototype/apply/S15.3.4.3_A14.js b/test/built-ins/Function/prototype/apply/S15.3.4.3_A14.js new file mode 100644 index 000000000..a9a78a79b --- /dev/null +++ b/test/built-ins/Function/prototype/apply/S15.3.4.3_A14.js @@ -0,0 +1,10 @@ +// 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.3_A14 +description: If IsCallable(func) is false, then throw a TypeError exception. +negative: TypeError +---*/ + +Function.prototype.apply.call(null, {}, []); |