diff --git a/0 b/0 new file mode 100644 index 0000000..e69de29 diff --git a/src/index.js b/src/index.js index 91e676c..80c096e 100644 --- a/src/index.js +++ b/src/index.js @@ -5,6 +5,8 @@ function print(a,b,c) { function flip(fn) { return function(){ // your code + let args = Object.values(arguments).reverse(); + return fn(...args); } }