結果 : javascript check if instance of class