How to switch two arguments of a function.
Start file
function testFunction (foo, bar) {
}
End file
function testFunction (bar, foo) {
}
1c1
< function testFunction (foo, bar) {
---
> function testFunction (bar, foo) {
Unlock
20 remaining solutions by
signing in and submitting your own entry
663 active golfers, 2139 entries
11
08/28/2024 at 08:49PM
12
08/28/2024 at 08:48PM
13
08/28/2024 at 08:48PM
14
08/28/2024 at 08:48PM
15
08/28/2024 at 08:48PM
16
08/28/2024 at 08:48PM
17
08/28/2024 at 08:48PM
18
08/28/2024 at 08:48PM
19
08/28/2024 at 08:48PM
20
08/28/2024 at 08:48PM
23
08/28/2024 at 08:48PM
25
08/28/2024 at 08:48PM
26
08/28/2024 at 08:48PM
27
08/28/2024 at 08:48PM
28
08/28/2024 at 08:47PM
31
08/28/2024 at 08:47PM
33
08/28/2024 at 08:47PM
47
08/28/2024 at 08:47PM
48
08/28/2024 at 08:47PM
54
08/28/2024 at 08:47PM