結果 : js type error is not a function