結果 : js class function is not a function