結果 : javascript check if object is of type interface