Wednesday, March 2, 2016

AngularJS: Variable variables in Javascript?

I know it's possible in PHP to have "variable" variables. For example. $x = "variable"; $$x = "hello, world!"; echo $variable; // displays "hello, world!".
http://ift.tt/1SiruNF

No comments:

Post a Comment