2 ms·
Wow, I knew the + operator was weird, but didn't realise it allowed you to do stuff like that. What I don't get though, wouldn't you still need to call eval()
by hencq 16y ago
Wow, I knew the + operator was weird, but didn't realise it allowed you to do stuff like that.
What I don't get though, wouldn't you still need to call eval() on it to do anything with it? Or does javascript do a 'implied eval' when you try to call a string?