Primitive values operation helper on Mozilla