結果 : .test is not a function javascript