DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript string to variable
var myString = "number"; eval(myString +" = 9"); console.log(number);
Source by www.codespeedy.com #
PREVIOUS
NEXT
Tagged:
#javascript
#string
#variable
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit