+ 1

arguments[x] ; not work

document.write(John.age);-- work, but document.write(John.arguments[1] ); Or document.write(John['arguments[1]']) not work. ;

11th Oct 2018, 11:01 AM
Sergun
3 Antworten
+ 2
Sergun, selecting a element numerically in an array: console.log(variable.arrayname[1].elementname); Here are 2 examples that numerically selects an element . Hope this helps👍 https://code.sololearn.com/Wy3patOzP5X3/?ref=app
11th Oct 2018, 11:42 AM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
0
Why? How to do?
11th Oct 2018, 11:03 AM
Sergun
0
Which programming language?
11th Oct 2018, 11:09 AM
Daniele Bonomi
Daniele Bonomi - avatar