Javascript Bugs ?

Javascript is a fun programming language, its non blocking, event-driven paradigm is really interesting for many cases.

On the other hand there are strange things that are really making me nervous when using this language:

: parseInt doing strange things:

# nodejs
> parseInt(0.000007, 10);
0
> parseInt(0.0000007, 10);
7

: numbers in JavaScript are always floats, with all its weaknesses

> 0.1+0.2
0.30000000000000004
> 10000000000000000-1
10000000000000000

ToBeContinued

Version: nodejs-6