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