03 2022 档案
摘要:1. 安装go语言开发环境,下载地址 https://golang.google.cn/dl/ 2. 下载RTSPwoWeb,地址 https://github.com/deepch/RTSPtoWeb 3. 解压目录,命令行运行 go env -w GO111MODULE=on 设置环境 4. 修
阅读全文
摘要:let $ = jQuery = (function () { // 伪构造函数,用于jquery对象 function construct(dom, selector) { let i, len = dom ? dom.length : 0 for (i = 0; i < len; i++) th
阅读全文
摘要:构造函数 Function的构造函数是它本身,Object,String,Number,Date,Array的构造函数均是Function,万物皆Function Function // ƒ Function() { [native code] } prototype prototype是函数才有的
阅读全文
摘要:function deepClone(source) { if (source null || typeof source !== 'object') return source; const target = source.constructor Array ? [] : {} for (let
阅读全文