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
doSomething((?, ?,somethingUseful)=>{doSomethingWith(somethingUseful);});doSomething((*,*,somethingUseful)=>{doSomethingWith(somethingUseful);});// etc.
Most explicit, clearly "using up" a parameter without binding it
Requires more syntax
Placeholder Identifier
doSomething((_,_,somethingUseful)=>{doSomethingWith(somethingUseful);});doSomething((_,_,somethingUseful)=>{print(_);// IdentifierReference : `_` early error?doSomethingWith(somethingUseful);});
Arguably most natural, other languages use this (C#, Rust, etc.)
Any valid identifiers are already valid identifiers, could conflict with existing code