Add test to assert Reflect.enumerate is now undefined

Ref #495
This commit is contained in:
Leonardo Balter 2016-02-06 10:30:59 -02:00
parent 65241f1e93
commit efced6eb32

View File

@ -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);