Inserts an object in the collection specified by the passed key.
- macOS 10.2+
insert is used if it exists. Otherwise, raises an
NSUndefined. This is part of Cocoa’s scripting support for inserting newly-created objects into containers without explicitly specifying a location.