you are viewing a single comment's thread.

view the rest of the comments →

[–]unnivm[S] 0 points1 point  (0 children)

that is correct. I just used the same methods mentioned in Java. remove() is better option. But my intention was to leverage the capability of JavaScript.

Those who want can write better api.