結果 : javascript check if variable is instance of interface