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