随笔分类 - js基础
摘要:<iframe src="http://127.0.0.1:10000/?scene_id=92264524" name="myFrame" frameborder="0" id="asd"></iframe> const dat = document.getElementById('asd').c
阅读全文
摘要:wx.config({ debug: false, appId: "", timestamp: 1, nonceStr: "", signature: "", jsApiList: [] }) wx.ready(function () { var audio = document.getElemen
阅读全文
摘要:function Person(name, arg) { this.name = name this.arg = arg } Person.prototype.setName = function () { console.log('this.name:', this.name) }const Ma
阅读全文
摘要:方法一: function deepClone(obj) { const result = obj.constructor Array ? [] : {} //判断obj是否是数组,然后创建数组或者对象 if(obj && typeof obj 'object'){ for (let key in
阅读全文
摘要:跨域,指的是浏览器不能执行其他网站的脚本。它是由浏览器的同源策略造成的,是浏览器施加的安全限制。 所谓同源是指,域名,协议,端口均相同,只要有一个不同,就是跨域。不明白没关系,举个栗子: http://www.123.com/index.html 调用 http://www.123.com/serv
阅读全文
posted @ 2020-05-14 11:45
acttan

浙公网安备 33010602011771号