@[email protected] to Programmer [email protected] • 1 year agoExam Answerprogramming.devimagemessage-square128fedilinkarrow-up1795
arrow-up1795imageExam Answerprogramming.dev@[email protected] to Programmer [email protected] • 1 year agomessage-square128fedilink
minus-squarekn0wmad1clinkfedilinkEnglish10•1 year agoThis could run in Javascript if you setup print as an alias for window.alert or console.log
minus-square@[email protected]linkfedilinkEnglish4•1 year agoIt can run in regular JS; print() just prints the page (ignoring the passed value).
minus-squarexigoilinkfedilink1•1 year agoThe QuickJS interpreter has print as a built-in alias for console.log.
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
.