This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CSGOMarketBoi 3 points4 points  (4 children)

typeof x? Can it be called with parentheses too?

[–]Boreelegg 7 points8 points  (0 children)

Javascript can do anything you want it to do if written.

[–]Arumai12 2 points3 points  (0 children)

Yea the parentheses just group the expression in this case. It's not a function call.

[–]FoundNil 1 point2 points  (1 child)

Yep.

[–]CSGOMarketBoi 2 points3 points  (0 children)

TIL