From 5efd241ef925263ec55cdc3fec7207764ad056fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Tue, 29 May 2018 20:17:42 +0300 Subject: [PATCH] Fix typo in the example program --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 594f793..81fa582 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ function. Smaller examples for every function are available in `api.md` let vm = gir.newVM(compiled, input); let result = gir.runVM(vm, 1000); - if(result.completed) { + if(result.complete) { console.log(gir.decodeUTF8(result.state.output)); } else { console.log('Bf program terminated abnormally');