Skip to content

Window.mo method

Window › mo

Unofficial

Minified helper to omit specified properties from an object.

Signature:

mo(target: object, propertyNames: string[]): object

Parameters:

Parameter Type Description
target object The source object to omit properties from.
propertyNames string[] The names of the properties to exclude.

Returns: objectA new object without the specified properties.