You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When simple static analysis can trivially work out that the argument order is obviously wrong:
// good_.map(x=>x.y,vals);// bad_.map(vals,x=>x.y);// bad_.map([a,b,c],eg);// ok - unnecessary wrap should catch it though.functionfoo(vals,f){return_.map(vals,f);}// ok - undefined var should catch it._.map(vals,ff);// ok - nothing you can do about this, you're 'pwnd'.constfff=getFn();_.map(vals,fff);// badfunctionffff(x){returnx.y;}_.map(vals,ffff);
The text was updated successfully, but these errors were encountered:
When simple static analysis can trivially work out that the argument order is obviously wrong:
The text was updated successfully, but these errors were encountered: