diff --git a/README.md b/README.md index 9ea5671..113a967 100644 --- a/README.md +++ b/README.md @@ -18,15 +18,13 @@ function sum(x, y) { }; } } -``` - -Output -```js console.log(sum(2,3)); // Outputs 5 console.log(sum(2)(3)); // Outputs 5 ``` +**⚝ [Try this example on CodeSandbox](https://codesandbox.io/s/js-cp-1-ypmjhl?file=/src/index.js)** +
@@ -36,69 +34,41 @@ console.log(sum(2)(3)); // Outputs 5 ```html - - -