Stuck in quiz #23 about substring


im stuck here

i always get this error, i dont know where my code error. please help me
Oops, try again. You didn't select the right substring from 'January'.

Replace this line with your code. 
console.log ("january".substring(0,3));

console.log ("melbourne is great".substring(0,12));

console.log ("hamburgers".substring(3,10))


substring from 'January'

You're getting a substring of 'january', slightly different

Also, usually one doesn't put space between the function name and the argument list, and usually one puts space after comma's. Documentation is a pretty good place to find sane/commonly used formatting, for example one could look up documentation for functions, there are probably examples of calling them there:


thank you for your answer and correction i really appreciate that


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.