码迷,mamicode.com
首页 >  
搜索关键字:arguments    ( 2649个结果
MRP进程起不来, 报错:ORA-00600: internal error code, arguments: [2619], [227424], [], [], [], [], [], [], [], [], [], []
问题背景:客户数据库服务架构为一主一备,某日备库操作系统意外重启,重启后Oracle MRP进程起不来,报错:ORA-00600: internal error code, arguments: [2619], [227424], [], [], [], [], [], [], [], [], [] ...
分类:系统相关   时间:2020-06-13 10:54:07    阅读次数:78
LESS
less Less编译工具 koala 官网:www.koala-app.com less中的注释 以//开头的注释,不会被编译到css文件中 以/**/包裹的注释会被编译到css文件中 less中的变量 使用@来申明一个变量 语法: @变量名 作为普通属性值只来使用: 直接使用@pink 语法: ...
分类:其他好文   时间:2020-06-11 01:05:21    阅读次数:126
argument[0]是拿到正则的括号第一个,以匹配{{name}} 为例子
html = html.replace(/\{\{([^}]+)\}\}/g, function () { console.log(arguments[1]); })这是匹配{{name}}这种,arguments[1]是取到()里的值,这里是取到name ...
分类:其他好文   时间:2020-06-10 15:56:16    阅读次数:62
call bind的实现以及数组常用方法
1.call 实现(apply 类似) Function.prototype.call= function(context){ context = context || window; context.fn = this; let args =[]; for(let i=1;i<arguments. ...
分类:编程语言   时间:2020-06-03 00:54:51    阅读次数:83
JavaScript经典实例
1.指定范围生成随机数 function random(min, max) { if (arguments.length 2) { return Math.floor(min + Math.random() * ((max + 1) - min)) } else { return null; } } ...
分类:编程语言   时间:2020-06-01 12:14:08    阅读次数:250
reduce() takes no keyword arguments
reduce中的initial 使用 Python的常用高阶函数reduce中有一个参数initial,用作初始值 r = reduce(lambda x, y: x * y, [x for x in range(1, 3)], 10) 这样将10代入参数x和整个列表做连续运算 问题 但是看了下re ...
分类:其他好文   时间:2020-05-30 21:37:43    阅读次数:58
一些公用的JS
/*阻止冒泡*/ function preventBubble(event){ var e=arguments.callee.caller.arguments[0]||event; //若省略此句,下面的e改为event,IE运行可以,但是其他浏览器就不兼容 if (e && e.stopPropa ...
分类:Web程序   时间:2020-05-30 16:03:45    阅读次数:71
js实现简单sku变体组合算法
let arr = [ [1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12], ]; function cartesianProductOf() { return Array.prototype.reduce.call(arguments, function(a ...
分类:编程语言   时间:2020-05-29 19:47:47    阅读次数:123
动画函数MTween.js
实现各种各样的动画效果 使用方法:MTween(init); 参数:init:(是个对象){ el:obj,//元素 target:{attr:val},//元素属性及对应的目标点(是个对象,也就是可以设置多个属性及其值)!注意:如果是设置透明度和scale系列放大缩小的时候,比如想要把元素放大为原 ...
分类:Web程序   时间:2020-05-28 01:06:15    阅读次数:99
ajax使用
查看有什么参数: console.log(arguments) 后端返回状态码: HttpResponse.status_code = 400 parse和stringify: var person = '{\'age\': 18, \'name\': \'alex\', \'gender\': \ ...
分类:Web程序   时间:2020-05-26 11:53:11    阅读次数:92
2649条   上一页 1 ... 9 10 11 12 13 ... 265 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!