mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 05:55:36 +02:00
Merge pull request #403 from bocoup/fixes-proxy
Small fixes on Proxy constructor tests
This commit is contained in:
commit
3a7db54b3e
@ -25,4 +25,4 @@ assert.sameValue(
|
|||||||
typeof p1,
|
typeof p1,
|
||||||
'object',
|
'object',
|
||||||
'Return a newly created Object'
|
'Return a newly created Object'
|
||||||
);
|
);
|
||||||
|
@ -14,9 +14,6 @@ description: >
|
|||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.throws(TypeError, function() {
|
assert.throws(TypeError, function() {
|
||||||
Proxy();
|
Proxy({}, {});
|
||||||
});
|
});
|
||||||
|
|
||||||
assert.throws(TypeError, function() {
|
|
||||||
Proxy([]);
|
|
||||||
});
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user