diff options
Diffstat (limited to 'js/src/jit-test/tests/basic/defaultvalue-valueOf-is-noncallable-object.js')
-rw-r--r-- | js/src/jit-test/tests/basic/defaultvalue-valueOf-is-noncallable-object.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/defaultvalue-valueOf-is-noncallable-object.js b/js/src/jit-test/tests/basic/defaultvalue-valueOf-is-noncallable-object.js new file mode 100644 index 0000000000..9bb2126b93 --- /dev/null +++ b/js/src/jit-test/tests/basic/defaultvalue-valueOf-is-noncallable-object.js @@ -0,0 +1,3 @@ +var obj = { valueOf: {}, toString: function() { return 0; } }; +for (var i = 0; i < 25; i++) + assertEq(obj < 1, true); |