Deploy to GitHub pages
This commit is contained in:
commit
2ef2c469d1
850 changed files with 332608 additions and 0 deletions
12
nimcache/runnableExamples/jsconsole_examples_2.nim
Normal file
12
nimcache/runnableExamples/jsconsole_examples_2.nim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#[
|
||||
autogenerated by docgen
|
||||
loc: /home/runner/work/Nim/Nim/lib/js/jsconsole.nim(101, 5)
|
||||
rdoccmd:
|
||||
]#
|
||||
import "/home/runner/work/Nim/Nim/lib/js/jsconsole.nim"
|
||||
{.line: ("/home/runner/work/Nim/Nim/lib/js/jsconsole.nim", 101, 5).}:
|
||||
console.jsAssert(42 == 42) # OK
|
||||
console.jsAssert(42 != 42) # Fail, prints "Assertion failed" and continues
|
||||
console.jsAssert('`' == '\n' and '\t' == '\0') # Message correctly formatted
|
||||
assert 42 == 42 # Normal assertions keep working
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue