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.
More better now ;-)
It can be dangerous in this case if, for example, you are executing this code on your server based on user input.
its only dangerous when missusing it :) often peapole dont even know that they us it, because its hidden in other functions ;)
This is not a JS problem. It is a floating point problem, it happens on other languages.
just a try, for
0.1+0.2=0.3
but it doesn't work
You should not be using eval, it is dangerous.
It's not perfect ;-)
Try that: