摘要:
1. {}+""相当于+"", 因为js解析器把{} 当做 block表达式。 一元运算符+ 的规则是(http://es5.github.io/index.html#x11.4.6):Letexprbe the result of evaluating UnaryExpression.Return... 阅读全文
摘要:
1.生成 dom & cssomhttps://developers.google.com/web/fundamentals/performance/critical-rendering-path/constructing-the-object-model2.render tree construc... 阅读全文
摘要:
page.evaluate( function() { // find element to send click to var element = document.querySelector( 'span.control.critical.closer' ); // creat... 阅读全文