Skip to content

Commit

Permalink
Add test to assert Reflect.enumerate is now undefined
Browse files Browse the repository at this point in the history
Ref #495
  • Loading branch information
leobalter committed Feb 6, 2016
1 parent 46b00fe commit 84fb140
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/built-ins/Reflect/enumerate/undefined.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
id: sec-reflect-object
description: >
Reflect.enumerate was removed and it's not a function anymore
---*/

assert.sameValue(Reflect.hasOwnProperty("enumerate"), false);
assert.sameValue(Reflect.enumerate, undefined);

0 comments on commit 84fb140

Please sign in to comment.