Add tags to a Blog Entry using the Add Blog Entry snippet
I've been trying to use the Add Blog Entry snippet from the platform, but I have an issue.
The snippet inserts in the first line the following line:
var tags = new Array();
If you try to do tags.push, the snippet throws "Wrapped java.lang.Exception: Unable To Convert From org.json.JSONArray to TAGS Cause: Unable To Convert From org.json.JSONArray to TAGS".
I tried the AddTag method, but it does not exist, since it is a new Array.
What is the way to programmatically add a tag to a blog entry in javascript?

