$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · easy · #83
What is logged?
console.log('abc'.at(-1), [1, 2, 3].at(-1));
c 3
a 1
c 2
undefined undefined
at() accepts a negative index counted from the end.
Play Problem Solving ▸
◂ #82
all Problem Solving — predict the output questions
#84 ▸