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