結果 : javascript class typeerror is not a function