Skip to content

Instantly share code, notes, and snippets.



Created Jun 16, 2016
What would you like to do?
Usage of delete in javascript
object = { foo: 'bar', foobar: undefined };
$.param(object); // => "foo=bar&foobar="
delete object.foobar;
$.param(object); // => "foo=bar"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.