how to use eval function in javascript on string variable code example Example: eval javascript eval(string)