Implement a LIFO data structure that has Push, POP, Get middle element, Delete middle element functions. code example
Example: can we push or pop a name from middle of the array
var suits = ["hearts", "clubs", "Brooks Brothers", "diamonds", "spades"];
suits.splice(2, 0, "Brooks Brothers");
console.log(suits);