tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

12.10-2-3.js (347B)


      1 // Copyright (c) 2012 Ecma International.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 es5id: 12.10-2-3
      6 description: with - expression being string
      7 flags: [noStrict]
      8 ---*/
      9 
     10  var o = "str";
     11  var foo = 1;
     12    with (o) {
     13      foo = 42;
     14    }
     15 
     16 assert.sameValue(foo, 42);
     17 
     18 reportCompare(0, 0);