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
No related branches found
No related tags found
No related merge requests found
Pipeline #7837 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment