Javascript Using A Function With Navigate As A Compponent Stack

Javascript Using A Function With Navigate As A Compponent Stack