summaryrefslogtreecommitdiff
path: root/test/built-ins/ThrowTypeError/throws-type-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/ThrowTypeError/throws-type-error.js')
-rw-r--r--test/built-ins/ThrowTypeError/throws-type-error.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/built-ins/ThrowTypeError/throws-type-error.js b/test/built-ins/ThrowTypeError/throws-type-error.js
index b2df50ca1..577dc4560 100644
--- a/test/built-ins/ThrowTypeError/throws-type-error.js
+++ b/test/built-ins/ThrowTypeError/throws-type-error.js
@@ -13,10 +13,7 @@ info: |
1. Throw a TypeError exception.
---*/
-var ThrowTypeError = Object.getOwnPropertyDescriptor(function() {
- "use strict";
- return arguments;
-}(), "callee").get;
+var ThrowTypeError = Object.getOwnPropertyDescriptor(function(){ "use strict"; return arguments; }(), "callee").get;
assert.throws(TypeError, function() {
ThrowTypeError();