@[email protected] to Programmer [email protected] • 8 months agoExam Answerprogramming.devimagemessage-square125fedilinkarrow-up1781arrow-down110
arrow-up1771arrow-down1imageExam Answerprogramming.dev@[email protected] to Programmer [email protected] • 8 months agomessage-square125fedilink
minus-squarekn0wmad1clinkfedilinkEnglish10•8 months agoThis could run in Javascript if you setup print as an alias for window.alert or console.log
minus-square@[email protected]linkfedilinkEnglish4•8 months agoIt can run in regular JS; print() just prints the page (ignoring the passed value).
minus-squarexigoilinkfedilink1•8 months 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
.