Fix typo in the example program

This commit is contained in:
Juhani Krekelä 2018-05-29 20:17:42 +03:00
parent 4de80f4304
commit 5efd241ef9
1 changed files with 1 additions and 1 deletions

View File

@ -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');