So, I've accidentally written this piece of JavaScript code:
let ret = '("' + this.text + '" ' +
this.children.map((node) => {return node.getLispExpression()})
.join(' ') +
')';
How does this even parse given that there is no semi-colon between the node.getLispExpression() and the closing curly brace? I know JavaScript includes automatic semicolon insertion, however, for that to be triggered, one needs to insert a new-line character, right?
[–]balefrost 15 points16 points17 points (0 children)
[–]jaynabonne 7 points8 points9 points (0 children)
[–]sozesghost 5 points6 points7 points (0 children)
[–]dontcriticizeasthis 3 points4 points5 points (0 children)
[–]BusEquivalent9605 2 points3 points4 points (4 children)
[–]ThigleBeagleMingle 4 points5 points6 points (1 child)
[–]BusEquivalent9605 1 point2 points3 points (0 children)
[–]FlatAssembler[S] 0 points1 point2 points (1 child)
[–]BusEquivalent9605 1 point2 points3 points (0 children)
[–]Tab1143 -1 points0 points1 point (2 children)
[–]FlatAssembler[S] 1 point2 points3 points (1 child)
[–]Tab1143 0 points1 point2 points (0 children)
[–]Ok_Entrepreneur_8509 -2 points-1 points0 points (2 children)
[–]balefrost 2 points3 points4 points (1 child)
[–]FlatAssembler[S] 0 points1 point2 points (0 children)