結果 : javascript class function is not a function