Tab Atkins Jr. (2014-02-11T20:39:00.000Z)
domenic at domenicdenicola.com (2014-02-18T04:25:10.150Z)
> ```js > my_list.map(<val>{return val<0?-val:val;});//return absolut-ified array content > ``` Are you aware of the existing arrow functions? Using current ES6, your example would be written as: ```js my_list.map(val=>val<0?-val:val); ```
domenic at domenicdenicola.com (2014-02-18T04:24:27.595Z)
Are you aware of the existing arrow functions? Using current ES6, your example would be written as: ```js my_list.map(val=>val<0?-val:val); ```