結果 : javascript check if object implements interface