标签: javascript browser mutation-observers
我很好奇是否按顺序返回MutationObserver接收的一批突变。
var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { console.log(mutation.type); // are these in order? }); });
谢谢!