@[email protected] to Programmer [email protected] • 2 months agoWirks every timelemmy.dbzer0.comimagemessage-square7fedilinkarrow-up171arrow-down17
arrow-up164arrow-down1imageWirks every timelemmy.dbzer0.com@[email protected] to Programmer [email protected] • 2 months agomessage-square7fedilink
minus-square@Excigmalink1•edit-22 months agoI’m on my phone rn so can’t format well, but one such example is: const thing = require(“module”) (async () => { something })() without a ; at the end of the first line, JavaScript will try to do require(“module”)() instead
I’m on my phone rn so can’t format well, but one such example is:
const thing = require(“module”)
(async () => { something })()
without a ; at the end of the first line, JavaScript will try to do require(“module”)() instead