Destroy Child?

How can I change Destroy(gameObject); so that it destroys the child of the game object?

for (var child :Transform in gameObject.transform) {
    Destroy(child.gameObject);
}

// or
var child :Transform = gameObject.transform.Find("Name");
Destroy(child.gameObject);