結果 : can we call a wire function inside of a javascript function