blob: eaba8055756e263ef861bb9a2ba16456bbb216ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
'use strict';
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.3.4.4-2-s
description: >
Strict Mode - 'this' value is a number which cannot be converted
to wrapper objects when the function is called without an array
argument
flags: [onlyStrict]
---*/
function fun() {
return (this instanceof Number);
}
assert.sameValue(fun.call(-12), false, 'fun.call(-12)');
reportCompare(0, 0);
|