Open this page in the API Guide

ScriptEditorExplorerNode.removeAllChildren Method

Removes all children from this node.