$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · easy · #222
What is the output?
console.log('abc'.repeat(2).length);
6
3
2
5
repeat(2) builds 'abcabc', which has six characters.
Play Problem Solving ▸
◂ #221
all Problem Solving — predict the output questions
#223 ▸