- (new CLASS KEY1 VALUE1 ...)syntax
Creates a JavaScript object that has the constructor CLASS, which must be a native JavaScript function. The arguments should be a list of alternating keys (native strings) and values.
Creates a JavaScript object that has the constructor CLASS, which must be a native JavaScript function. The arguments should be a list of alternating keys (native strings) and values.