DRAFT
Observed
One can repeat a String by multiplying it with a number
One cannot repeat a String by multiplying it with a number
JavaScript’s multiplication operator only works for numbers. It does not support the repetition of Strings. To repeat a String a given number of times, one can use a loop.
If students previously learned Python, they may inappropriately transfer this idea from Python (where such an operator exists) to JavaScript.
Follow us on twitter to hear about new misconceptions.