2013-12-14

JavaScript syntax soup: 「p in o」

another episode of syntax soup. In JavaScript, you have p in o and for (var p in o) {…}. The first looks the same as part of the second, but have completely different semantics.

Soup. Soup. Soup. It's All Soup.