Closed cabishop closed 5 years ago
You aren't using semi-colons at the end of your lines. While JavaScript can infer where the semi-colons should go so they are not strictly required, leaving them out can lead to odd bugs. I prefer to use them.
Here is an example:
const a = 1
const b = 2
const c = a + b
(a + b).toString()
That results in an error because JavaScript thinks the 3rd line is const c = a + b(a + b).toString()
Issue: Undo does not remove first element highlight Solution: Add different visual indicator for first token/last token selection