Javascript Error While Calling Method Form Stimulus Controller

Javascript Error While Calling Method Form Stimulus Controller