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 @xieyh11:
Unlock 4 remaining solutions by signing in and submitting your own entry