JavaScript operators as functions