@[email protected] to Programmer [email protected] • 9 months agoExam Answerprogramming.devimagemessage-square125fedilinkarrow-up1781arrow-down110
arrow-up1771arrow-down1imageExam Answerprogramming.dev@[email protected] to Programmer [email protected] • 9 months agomessage-square125fedilink
minus-squarekn0wmad1clinkfedilinkEnglish10•9 months agoThis could run in Javascript if you setup print as an alias for window.alert or console.log
minus-square@[email protected]linkfedilinkEnglish4•9 months agoIt can run in regular JS; print() just prints the page (ignoring the passed value).
minus-squarexigoilinkfedilink1•9 months agoThe QuickJS interpreter has print as a built-in alias for console.log.
OCR exam language, a pseudocode format.
This could run in Javascript if you setup print as an alias for window.alert or console.log
It can run in regular JS;
print()
just prints the page (ignoring the passed value).undefined
The QuickJS interpreter has
print
as a built-in alias forconsole.log
.