File: 9681f5d844d7acd0.js

package info (click to toggle)
node-js-tokens 8.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, trixie
  • size: 22,300 kB
  • sloc: javascript: 12,420; makefile: 4
file content (8 lines) | stat: -rw-r--r-- 269 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
(a) => b;  // 1 args
(a, b) => c;  // n args
() => b;  // 0 args
(a) => (b) => c;  // func returns func returns func
(a) => ((b) => c);  // So these parens are dropped
() => (b,c) => d;  // func returns func returns func
a=>{return b;}
a => 'e';  // Dropping the parens