zulip/frontend_tests/zjsunit
Anders Kaseorg 02004c9b0f js: Convert self-referential vars to const.
ESLint won’t convert these automatically because it can’t rule out a
behavior difference arising from an access to a self-referential var
before it’s initialized:

> var x = (f => f())(() => x);
undefined
> let y = (f => f())(() => y);
Thrown:
ReferenceError: Cannot access 'y' before initialization
    at repl:1:26
    at repl:1:15

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-10-28 15:02:43 -07:00
..
bugdown_assert.js eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
finder.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
handlebars.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
i18n.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
index.js shared: Set up a way to share some frontend code with the mobile app. 2019-10-17 16:48:23 -07:00
mdiff.js eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
namespace.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
stub.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
zblueslip.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
zjquery.js js: Convert self-referential vars to const. 2019-10-28 15:02:43 -07:00