結果 : type error is not a function javascript