Unable to save custom function script

Unable to save custom function script

Hi

Are you having issues with the script editor in zoho desk? I have a custom function code that worked fine previously, and now it does not recognize sentences like these:

myHeader=map();
myHeader.put("content", "value");

myHeader=Collection();
myHeader.insert("content", "value");

According to your new editor should work, sometimes it saves it, sometimes it does not. It is painfully to edit it. The snippets shown are only part of a larger code.

Thanks.