Talk:100 doors: Difference between revisions
→Invalid JavaScript solution: typo
(→Invalid JavaScript solution: Reply) |
(→Invalid JavaScript solution: typo) |
||
Line 142:
JavaScript does not have array comprehension, this results in a syntax error... [[User:MattDESTROYER|MattDESTROYER]] ([[User talk:MattDESTROYER|talk]]) 00:29, 3 December 2023 (UTC)
:Interesting. I tried it on TIO.RUN. they have 4 Javascript options, only SpiderMonkey accepts the syntax
:Changing <code>console.log("Door %d is open", door);</code> to <code
:--[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 14:01, 3 December 2023 (UTC)
|