Is it possible to delete an array from an object? For example, lets say i have an object called response and within it and array called items:
var response = { success: false, items:[] };
How do i delete 'items' from the response object?
thanks
Here you go:
delete response.items;
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments