I have the following javascript code snippet:
var someValue = 100; var anotherValue = 555; alert('someValue is {0} and anotherValue is {1}'.format(someValue, anotherValue));
get the following error:
Uncaught TypeError: undefined is not a function
What am I missing here?
javascript
navyad Aug 10 '14 at 9:07 2014-08-10 09:07
source share