4 ms·
Suggestions: If the result is an Element (or perhaps Node) insert it into the document instead of for example "[object HTMLCanvasElement]" A potentially m
by Lerc 6y ago
Suggestions:
If the result is an Element (or perhaps Node) insert it into the document instead of for example "[object HTMLCanvasElement]"
A potentially more difficult one would be automagically hoisting functions defined in the document when you hit ctrl-enter.
function factorial(n) { ...the usual... }
factorial(7);// [ctrl-enter] on just this line works
- kahole 6y agoGreat suggestions!