You could use `if @node.nodeName in ['A', 'a']` and CoffeeScript will actually compile it to what you had.