Switch function arguments
How to switch two arguments of a function.
Start file
function testFunction (foo, bar) { }
End file
function testFunction (bar, foo) { }
View Diff
1c1 < function testFunction (foo, bar) { --- > function testFunction (bar, foo) {
Solutions by @gpfl0712:
Unlock 2 remaining solutions by signing in and submitting your own entry