diff options
author | isaacs <i@izs.me> | 2012-06-09 08:09:42 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-06-09 08:09:42 -0700 |
commit | 940a6863ead6622e5439e07be631359c31e63b68 (patch) | |
tree | c5aa25c048b8f0fd622d4c42fa134ca645fcbcd7 /deps/v8/test/mjsunit/declare-locally.js | |
parent | 569acea0eefed2c7da7453b7dcef6ff47491ca1c (diff) | |
download | node-new-940a6863ead6622e5439e07be631359c31e63b68.tar.gz |
Roll V8 back to 3.9.24.31
Diffstat (limited to 'deps/v8/test/mjsunit/declare-locally.js')
-rw-r--r-- | deps/v8/test/mjsunit/declare-locally.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/deps/v8/test/mjsunit/declare-locally.js b/deps/v8/test/mjsunit/declare-locally.js index 20bfe6da1f..93fcb85f3c 100644 --- a/deps/v8/test/mjsunit/declare-locally.js +++ b/deps/v8/test/mjsunit/declare-locally.js @@ -33,13 +33,11 @@ // This exercises the code in runtime.cc in // DeclareGlobal...Locally(). -// Flags: --es52_globals - this.__proto__.foo = 42; this.__proto__.bar = 87; -eval("assertEquals(undefined, foo); var foo = 87;"); +eval("assertEquals(42, foo); var foo = 87;"); assertEquals(87, foo); -eval("assertEquals(undefined, bar); const bar = 42;"); +eval("assertEquals(87, bar); const bar = 42;"); assertEquals(42, bar); |