minus-squarekn0wmad1clinkEnglish10•6 months agoThis could run in Javascript if you setup print as an alias for window.alert or console.log
minus-square@PoolloverNathanlinkEnglish4•6 months agoIt can run in regular JS; print() just prints the page (ignoring the passed value).
minus-squarexigoilinkfedilink1•6 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
.