結果 : js check if instance of interface