Files
Nim/tests/js/tjshello.nim
zah 39aef12446 review and merge zahary's work (#5849)
* proper indentation for the generated JS code
* improved dead-code elimination for JavaScript
* test the JS dead-code elimination

A new test spec has been added - "maxcodesize". It specifies the
maximum size of the generated code in bytes.
2017-06-03 12:45:10 +02:00

11 lines
135 B
Nim

discard """
output: "Hello World"
maxcodesize: 1000
ccodecheck: "!@'function'"
"""
import jsconsole
console.log "Hello World"