diff options
Diffstat (limited to 'Libraries/LibJS/Tests/Error.js')
-rw-r--r-- | Libraries/LibJS/Tests/Error.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Libraries/LibJS/Tests/Error.js b/Libraries/LibJS/Tests/Error.js index 0338dded12..ed920cb9ba 100644 --- a/Libraries/LibJS/Tests/Error.js +++ b/Libraries/LibJS/Tests/Error.js @@ -1,6 +1,10 @@ load("test-common.js"); try { + assert(Error.length === 1); + assert(Error.name === "Error"); + assert(Error.prototype.length === undefined); + var e; e = Error(); |