Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #29215

Re: Local and global objects / variables in javascript

Newsgroups comp.lang.javascript
Date 2016-01-10 10:54 -0800
References <68d49145-aeb3-476b-9aae-2731fb18845b@googlegroups.com> <1bae5e3d-890b-4a2f-8cb0-e129a805e312@googlegroups.com> <3351aba0-ffb3-4b46-b61d-a78bb198228d@googlegroups.com>
Message-ID <c2240d3b-cc2b-4d00-9a77-d63561cbfe76@googlegroups.com> (permalink)
Subject Re: Local and global objects / variables in javascript
From "Michael Haufe (TNO)" <tno@thenewobjective.com>

Show all headers | View raw


On Sunday, January 10, 2016 at 11:55:15 AM UTC-6, jonas.t...@gmail.com wrote:

> But is the slice the correct way to do local copies of the array?

 Array.prototype.slice() returns a shallow copy of an array.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Local and global objects / variables in javascript jonas.thornvall@gmail.com - 2016-01-10 00:53 -0800
  Re: Local and global objects / variables in javascript "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-01-10 08:30 -0800
    Re: Local and global objects / variables in javascript jonas.thornvall@gmail.com - 2016-01-10 09:55 -0800
      Re: Local and global objects / variables in javascript "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-01-10 10:54 -0800
        Re: Local and global objects / variables in javascript jonas.thornvall@gmail.com - 2016-01-10 12:32 -0800
          Re: Local and global objects / variables in javascript "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-01-10 14:57 -0800

csiph-web