How to remove object/array from javascript variable? -
how remove object/array javascript variable?
you can use array.prototype.pop()
remove last element of array.
bankbranchreponse.pop();
to remove element @ specific index, example 3rd element:
var index = 2; // 0 based 2 3rd element bankbranchreponse.splice(index, 1);
Comments
Post a Comment