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