array 5b 1 5d not working

Solutions on MaxInterview for array 5b 1 5d not working by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "array 5b 1 5d not working"
Leroy
05 Nov 2019
1var array = [1, 2, 3];
2
3array[-1] = 42;
4
5console.log(array);
6console.log(array[-1]);
similar questions
queries leading to this page
array 5b 1 5d not working