Skip to content

Commit

Permalink
fix syntax error in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Jul 24, 2017
1 parent 3ae35d3 commit 8eb53ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/a.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
function f(){/* this is a comment. */const x=[1,2,3,4];const y={a:1,b:2,c:3};const z=[[1,2,3],[4,5,6],[7,8,9]];if(x[0]===y.a){return x;}return "none";}
function g(x){switch(x){case 1:return'j';case 2:return's';default:return'';}}
const f=({a,b,c}={a:1,b:2,c:3})=>(a+b+c);
const h=({a,b,c}={a:1,b:2,c:3})=>(a+b+c);

0 comments on commit 8eb53ab

Please sign in to comment.