Assume we are trying to get rid of a dinamically created symbol when we click on it.
What's the difference among these three lines of code?
- sym.deleteSymbol();
- sym.getSymbolElement().deleteSymbol();
- sym.getSymbolElement().remove();
Do they all work? Do they do the same thing?