Added js console object

This commit is contained in:
Andrea Ferretti 2016-09-21 17:35:45 +02:00
commit 693b2b0f5d
2 changed files with 41 additions and 0 deletions

9
tests/js/tconsole.nim Normal file
View file

@ -0,0 +1,9 @@
discard """
output: "Hello, console"
"""
# This file tests the JavaScript console
import jsconsole
console.log("Hello, console")