JavaScript predicates.