Posts by pedromanoel • 121 points
1 post
-
2
votes6
answers14101
viewsA: String Format with Javascript
I know it doesn’t exactly answer your question, but when I need to interpolate variables with javascript text, I use the following method: var nome = 'João da Silva', idade = 22, nacionalidade =…