96
rated 0 times
[
103]
[
7]
/ answers: 1 / hits: 20258
/ 14 Years ago, tue, july 20, 2010, 12:00:00
I've been using both in javascript ... really don't know the difference. Googling always shows results for the window object or opening a new window in javascript so couldn't find anything there.
eval(v+e)
window[v+e]
Sometimes window works for me and at other times eval works ....
So what's the difference between eval() and window[] ?
Sorry for the newbie question though !
Norman
More From » javascript