I have following snippet of javascript code:
var someValue = 100;
var anotherValue = 555;
alert('someValue is {0} and anotherValue is {1}'.format(someValue, anotherValue));
getting following error:
Uncaught TypeError: undefined is not a function
what am i missing, here ?