mirror of
https://github.com/tc39/test262.git
synced 2025-07-27 07:54:41 +02:00
Small fixes on Proxy constructor tests
This commit is contained in:
parent
258d2124ab
commit
fbf3b89870
@ -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