摘要:
``` var puppeteer = require('puppeteer'); const devices = require('puppeteer/DeviceDescriptors'); const iphone = devices["iPhone 6"] const path = requ 阅读全文
posted @ 2019-07-26 14:42
公众号python学习开发
阅读(973)
评论(0)
推荐(0)
摘要:
``` // async函数返回一个 Promise 对象,可以使用then方法添加回调函数。
// 当函数执行的时候,一旦遇到await就会先返回,等到异步操作完成,再接着执行函数体内后面的语句。
class Demo { //构造函数 constructor(x, y) { this.x = x //类中变量 this.y = y }
... 阅读全文
posted @ 2019-07-26 09:45
公众号python学习开发
阅读(1732)
评论(0)
推荐(0)

浙公网安备 33010602011771号