0

Is there a way to convert this to a specific value to use in the replaceAll()? The problem I am running into is that the program is replacing the specific spot rather than the type of variable.

var input = "a=1 a"
var letter = {input:1} 
var letterVal = {input:3}
var replaceletter = input.replaceAll(letter, letterVal)
FireTiger
  • 79
  • 5

0 Answers0