SyntaxFix
Write A Post
Hire A Developer
Questions
data.removeAll(data); will do the work, I think.
data.removeAll(data);