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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -