bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46924: "of" should be in js--keywords-re in js-mode


From: Reuben Thomas
Subject: bug#46924: "of" should be in js--keywords-re in js-mode
Date: Thu, 4 Mar 2021 15:20:05 +0000

"of" is not lexically a keyword (as far as I can tell). However, in ECMAScript 2018 and later, it functions as one (in the "for…of" construction), so it should probably be treated as one by js-mode. Certainly, this seems to be common practice, looking at samples of _javascript_ online (including in the standard).

--
https://rrt.sc3d.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]