Hacker News new | ask | show | jobs
by chabska 273 days ago
Maybe because in JS/TS, `a ? ["b"]` is a valid syntax, so they had to insert the dot to parse properly.