JS operatiors as functions