mirror of
https://github.com/remko/waforth
synced 2025-01-17 18:11:39 +01:00
doc: Fix README example
This commit is contained in:
parent
509708c9bb
commit
f9fccd6496
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ import WAForth from "waforth";
|
|||
// Initialize WAForth
|
||||
const forth = new WAForth();
|
||||
forth.onEmit = (c) =>
|
||||
log.appendChild(document.createTextNode(String.fromCharCode(c)));
|
||||
log.appendChild(document.createTextNode(c));
|
||||
await forth.load();
|
||||
|
||||
// Bind "prompt" call to a function that pops up a JavaScript
|
||||
|
|
Loading…
Reference in a new issue