on javascript API there is a method available that reverts all assets. for example.
revertAssets(Asset[] assets) revert the specified assets.
We have a bunch of RSS type content created using a webform that needs to be reverted using a webscript. Its a basic question so I need to know how do I define Asset[] in javascript? for example.
var rssArray = new Array(); var assetArray = new Asset()?