console.clear();
fn(1,2,3); // {a: 1, b: 2, c: 3}
fn({a:99}); // {a: 99}
function fn(a,b,c){
var params = parse(fn,[...arguments]);
console.log('params',params);
}//fn
function parse(fn,args){
console.log(arguments.callee.caller);
console.log(arguments.callee.caller.…
fn(true,'xyz',()=>'hello',99,101); function fn(a,b,c){ var callback = arg(arguments,'function'); console.log(callback); var index = arg(arguments,'number',1); console.log(index); }//fn function arg(args,type,index=0){ var c = 0; var n = args.length; for(var i=0;i<n;i++){ if(typeof args[i]==type){ if(c==index){
console.clear(); var map = new WeakMap(); var a = document.createElement('div'); map.set(a,()=>'hello'); console.log(map.get(a)()); //: var mem = []; mem.rnd = ()=>Math.random(); mem.add = (node,fn,index)=>(index=mem.rnd(),mem.push({index,node,fn}),index); mem.rem = node=>(i=mem.findIndex(o=>o.node===node)) ?? mem.splice(i,1,0);
The nullish coalescing (??) operator is a logical operator that returns its right-hand side operand when its left-hand side operand is null or undefined, and otherwise returns its left-hand side operand. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing
The Chrome team is excited to announce the promotion of Chrome 128 to the Beta channel for Windows, Mac and Linux. Chrome 128.0.6613.7 contains our usual under-the-hood performance and stability tweaks, but there are also some cool new features to explore - please head to the Chromium blog to learn more! A partial list of changes is available in the Git log. Interested in switching release chan…
The Dev channel has been updated to 128.0.6613.7 for Windows, Mac and Linux. A partial list of changes is available in the Git log. Interested in switching release channels? Find out how. If you find a new issue, please let us know by filing a bug. The community help forum is also a great place to reach out for help or learn about common issues. Prudhvi Bommana Google Chrome
The load event is fired when the whole page has loaded, including all dependent resources such as stylesheets, scripts, iframes, and images, except those that are loaded lazily. This is in contrast to DOMContentLoaded, which is fired as soon as the page DOM has been loaded, without waiting for resources to finish loading.
Hi everyone! We've just released Chrome Beta 128 (128.0.6613.6) for Android. It's now available on Google Play. You can see a partial list of the changes in the Git log. For details on new features, check out the Chromium blog, and for details on web platform updates, check here. If you find a new issue, please let us know by filing a bug. Harry Souders Google Chrome
« first day (5030 days earlier) ← previous day next day → last day (140 days later) »