Extract argument from function
The aim is to see if you can do some refactoring very fast.
Start file
attr("y",function(v){return v})
End file
f=function(v){return v}; attr("y",f)
View Diff
1c1,2 < attr("y",function(v){return v}) --- > f=function(v){return v}; > attr("y",f)
Solutions by @TitouanT_:
Unlock 5 remaining solutions by signing in and submitting your own entry