Closed JustBlackBird closed 9 years ago
A valid variable name cannot be an integer. Thus if an integer is used as a helper argument it should be treated as a literal and not as variable name.
Here is a JS fiddle that demonstrates such behavior in Handlebars.js http://jsfiddle.net/vr82ocb1/2/
Thank you!
A valid variable name cannot be an integer. Thus if an integer is used as a helper argument it should be treated as a literal and not as variable name.
Here is a JS fiddle that demonstrates such behavior in Handlebars.js http://jsfiddle.net/vr82ocb1/2/