From f9fccd64964b3cf8f6e595edfab7e2d01b4a5742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 1 Oct 2022 20:49:46 +0200 Subject: [PATCH] doc: Fix README example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4bf737e..e70f550 100644 --- a/README.md +++ b/README.md @@ -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