Javascript string formatting, short question -
How can I use javascript to add a number (any number between 0-100), its After an underscore, before the variable value?
Example:
2000 12_2000 / / / a number of my choice is added, after which an underscore hello becomes 12_hello
The number of this case (12 in this case) is chosen by me continuously!
Thanks
i + '_' + x
Where i
is the number and x
is an arbitrary value.
Comments
Post a Comment