結果 : javascript check if class extends another class