結果 : javascript check instance of interface