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