Constructor Not Able To Set Properties In Javascript Class Stack

Constructor Not Able To Set Properties In Javascript Class Stack