Exam AnswerJPDev@programming.dev to Programmer Humor@programming.dev – 780 points – 3 months ago128Post a CommentPreviewYou are viewing a single commentView all commentsShow the parent commentThis could run in Javascript if you setup print as an alias for window.alert or console.logIt can run in regular JS; print() just prints the page (ignoring the passed value).undefinedThe 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.logIt can run in regular JS; print() just prints the page (ignoring the passed value).undefinedThe 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
.