Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #36098
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: Cant pop and slice first second element |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <ebc71280-6e53-4a6a-b11b-3e00a67031d3@googlegroups.com> <XnsAA0A7B698473Aeejj99@194.109.6.166> <d9c040cd-78af-4d59-898f-ae98fc87ff53@googlegroups.com> <XnsAA0ABF09FEEADeejj99@194.109.6.166> <5093e7fc-9f69-491d-af27-c0951aeeabf0@googlegroups.com> |
| Date | 2019-03-06 23:52 +0100 |
| Message-ID | <XnsAA0AF2E3CD39Beejj99@194.109.6.166> (permalink) |
=?UTF-8?Q?Jonas_Th=C3=B6rnvall?= <jonas.thornvall@gmail.com> wrote on 06 Mar 2019 in comp.lang.javascript: > Aren't you avoiding the problem a bit Evertjan, isn't the problem also > position the tracknr after remove, so you nned the popcase? Because you > must remove 1 from tracknr? Or am i wrong? Basicly if i pop "active > track" tracknr--. But if there is elements after i can just remove it > because i can have same "active track?" I don't know or understand the purpose of your "track", but that seems unimportant: For solving your coding problem, the manipulation of the "tracknumber" [I would say "array-index"] is unimportant, so in TESTING your function as a black box, better leave it out for the moment. If the test shows your black box/function works as planned, you can always introduce thiis again in your application code. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Cant pop and slice first second element Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-06 01:41 -0800
Re: Cant pop and slice first second element "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-03-06 12:07 +0100
Re: Cant pop and slice first second element Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-06 07:42 -0800
Re: Cant pop and slice first second element "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-03-06 18:46 +0100
Re: Cant pop and slice first second element Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-06 10:05 -0800
Re: Cant pop and slice first second element Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-06 10:13 -0800
Re: Cant pop and slice first second element Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-06 10:17 -0800
Re: Cant pop and slice first second element "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-03-06 23:52 +0100
Re: Cant pop and slice first second element Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-06 08:45 -0800
Re: Cant pop and slice first second element Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-06 09:19 -0800
Re: Cant pop and slice first second element Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-06 09:42 -0800
csiph-web