Echo JS 0.11.0


chris-l comments

chris-l 28 days ago. link 2 points
> with 0 install

Well, that is somewhat incorrect; unless you already have it installed, npx will download prettier and do a temporal installation.

So, if you DON'T have prettier installed locally on your project or globally, and then you try to execute it with the --no-install flag (so it actually doesn't install anything), like this:

:%! npx -q --no-install prettier

It will fail.

Installing it globally perhaps would be better. Otherwise you are downloading prettier over and over each time you try to format your code (and by not having to download it, the command will be executed faster).
chris-l 88 days ago. link 2 points
> const does not imply any kind of immutability of the value itself, it only implies immutability of the binding.

So you expected that `const` did the same work as `Object.freeze`?

Since in the post he never mentions Object.freeze, maybe he doesn't know about it?
chris-l 94 days ago. link 1 point
Besides of being non-JavaScript-related spam, it is also violating the rule of "No link to summaries, only link to original content"

(btw, all the posted news of this user are deleted, maybe he only uses echojs for spamming)