Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
From MDN:
NEVER USE eval()!
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#never_use_eval!
:)
Using eval may cause JS-engine not to use some optimizations on compilation stage.
I guess not (depending on the complexity of the operation), but in this case, yes.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
huuu..m
(check mine)
I'd like to know as well
You wouldn't really go for it in a real world, this is just a kata.
Eval isn't necessarily a bad practice by the way, it is very dangerous, but still, it's a feature of the language and there are situations where you have to use it. So, even in a real world scenario, if you can control what's gong to be eval(uated), then I don't really see anything wrong in using it.