It gives error and reson is giving that you didn't select right substring in january for 'jan'


#1


Oops, try again. You didn't select the right substring from 'January'.


console.log("january".substring(0,3));
console.log("melbourne is great".substring(0,9));
console.log("hamburgers".substring(3,9));


#2

January is with first uppercase letter, be aware of case sensitivity.


#3

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