Skip to content
Snippets Groups Projects
Commit d4d05239 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Make global read(0) and readln(0) return undefined

This is really an error condition, so like the jsdocs say:
return undefined upon error

This how read(0) worked in sbbs, but not jsexec before that last commit,
so now just make readln and read work like that in both sbbs and jsexec.
parent 4914fa1d
Branches
Tags
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment