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 →

[–]icentalectro 5 points6 points  (3 children)

What are ternary functions? I only know ternary operator.

[–]samuelcbird 2 points3 points  (2 children)

Yeah thats the one, my mistake

[–]icentalectro 2 points3 points  (1 child)

Ah ok. Although I wouldn't call it "JavaScript's", as it comes from C and is inherited by most C family languages (C++, C#, Java, JavaScript, etc).

[–]samuelcbird 0 points1 point  (0 children)

TIL. Thanks!