var supportDOM2Core = document.implementation.hasFeature("Core","2.0");
var supportDOM2Core = document.implementation.isSupported("Core","2.0");
确定浏览器是否支持DOM2Core
var supportDOM2Core = document.implementation.hasFeature("Core","2.0");
var supportDOM2Core = document.implementation.isSupported("Core","2.0");
确定浏览器是否支持DOM2Core