SyntaxFix
Write A Post
Hire A Developer
Questions
Why not just, a=a(~~a) or a(~a)=[]. It's equivalent to the other approaches but certainly less key strokes.
a=a(~~a)
a(~a)=[]