Skip to content

Commit

Permalink
deliberate ES6 syntax
Browse files Browse the repository at this point in the history
(rationale: don't let people install @2 in a build system that will not alert them that we have moved to ES6, only to cause trouble with a later release.)
  • Loading branch information
Fil committed Jul 10, 2020
1 parent 2b9596c commit 57e87dc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/constant.js
@@ -1,5 +1 @@
export default function(x) {
return function() {
return x;
};
}
export default x => () => x;

0 comments on commit 57e87dc

Please sign in to comment.