This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
console.log() behavior is not compliant #343
Closed
Description
To reproduce, modify samples/HelloWorld.js (do we get an interactive mode?) to contain:
console.log(1)
console.log('foo', 'Hello, ZJS world!')
Run:
$ ./jslinux samples/HelloWorld.js
foo
Issue: numeric argument is not printed. With multiple arguments, only 1st is silently printed.
For comparison:
$ nodejs samples/HelloWorld.js
1
foo Hello, ZJS world!
Browser interactive console:
console.log(1)
console.log('foo', 'Hello, ZJS world!')
1
foo Hello, ZJS world!
undefined
Metadata
Metadata
Assignees
Labels
No labels