Added js console object
This commit is contained in:
parent
723bc158ce
commit
693b2b0f5d
2 changed files with 41 additions and 0 deletions
9
tests/js/tconsole.nim
Normal file
9
tests/js/tconsole.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
discard """
|
||||
output: "Hello, console"
|
||||
"""
|
||||
|
||||
# This file tests the JavaScript console
|
||||
|
||||
import jsconsole
|
||||
|
||||
console.log("Hello, console")
|
||||
Loading…
Add table
Add a link
Reference in a new issue