What happen when i removeChild a sprite in cocos2d javascript binding?

What happen when i removeChild a sprite in cocos2d javascript binding?
Will that sprite be deleted?

If the sprite has reference in you code, it’s will exist.
It’s will be deleted when there is no reference of this sprite.