This is in Google Script Editor. I've done a lot of searching but for some reason I can't find any information about a simple thing such as appending to an object.
I have an object like this:
var get_options = {
'method': 'get',
'muteHttpExceptions': true,
};
How would I go about appending to that object?
I want to add 'authorization': 'token',
to that object so the object will look like this:
var get_options = {
'method': 'get',
'muteHttpExceptions': true,
'authorization': 'token',
};
Please help! Thank you in advance.