JS: Fixes math and streams module and implements json.

This commit is contained in:
Dominik Picheta 2014-04-11 21:41:45 +01:00
commit 96c97d4103
3 changed files with 128 additions and 55 deletions

View file

@ -19,8 +19,8 @@
when defined(Posix) and not defined(haiku):
{.passl: "-lm".}
import times
when not defined(js):
import times
const
PI* = 3.1415926535897932384626433 ## the circle constant PI (Ludolph's number)