Special Operators


  1. ?: (Ternary operator) : It returns value based on the condition.
  2. , (comma) : It allows multiple expressions to be evaluated as single statement.
  3. delete : It deletes a property from the object.
  4. in : It checks if object has the given property.
  5. new : It creates an instance (object).
  6. typeof : It checks the type of object.
  7. instanceof : It checks if object is an instance of given type.
  8. void : It discards expression’s return value.