JS: Fixes math and streams module and implements json.
This commit is contained in:
parent
b0a16fb619
commit
96c97d4103
3 changed files with 128 additions and 55 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue