Re:Javascript: call functions without using parentheses
by mrspeaker on Wednesday September 19, 2018 @12:23PM
(#18025350)
So far in the wild I've mostly seen it being used to confuse. Like in the very first part of the TestCafe documentaion (https://github.com/DevExpress/testcafe#creating-the-test):
I spent ages going through their docs trying to find out why they specify their two main functions differently (`fixture` using tagged templates and `test` as a regular functions). In the docs it mentions "doesn't matter which way you do it". It's just there to confuse / impress.
[ Parent
| on HN ]
There are no comments on this comment yet.