fat arrow
nounEtymology From fat + arrow, because of its thickness compared to ->.
1
Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Sciences The => symbol, which has specific meanings in various programming languages.
- The fat arrow is a new shorter way to write functions using '=>' instead of 'function() {}', and will look familiar to anyone who has used CoffeeScript.2013, Mark E. Daggett, Expert JavaScript, →ISBN, page 39:
- A constant can't be used on the left-hand side of a fat arrow (=>) because that turns it into a string.2013, Peter Scott, Perl Medic: Transforming Legacy Code, →ISBN, page 78: