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