Home > front end >  Consult the cost efficiency of anonymous methods in js lambda
Consult the cost efficiency of anonymous methods in js lambda

Time:12-01

Sometimes the front end to write

 
FunctionEdit () {... }
FunctionEditConfirm () {... }

//==============

The function of the writing is more,
Recent attempts to anonymous methods
FunctionEdit () {
.
XXX. Ok=()=& gt; {
//functionEditConfirm function
,,,,,,}
}


Ask what is the difference between this method on the execution efficiency
  • Related