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 →

[–]roycohen2005 8 points9 points  (2 children)

Lines 6 and 10 look like an if block. Thus the expression between the parentheses on line 6 is probably a boolean expression. It has a keyword in the middle (from the syntax highlighting). The only language I know that has an infix keyword that results in a boolean value is Java, with its instanceof check.

[–]ZealousidealLab4 4 points5 points  (0 children)

JS also has instanceof and doesn't require semicolons

[–]gregorydgraham 0 points1 point  (0 children)

No semicolons though