結果 : string is not a function javascript