Fix typo in the example program
This commit is contained in:
parent
4de80f4304
commit
5efd241ef9
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue