Viewing a response to: @robertdurst10/less-is-more-sexy-javascript-array-transformations
Cool post. Array.map() also does wonders :) [1,2,4,4].map((item) => {return item + 10; }); //[11, 12, 14, 14] Follow me @codero.
author | codero |
---|---|
permlink | re-robertdurst10-less-is-more-sexy-javascript-array-transformations-20170905t115847590z |
category | javascript |
json_metadata | {"tags":["javascript"],"app":"steemit/0.1","users":["codero"]} |
created | 2017-09-05 11:58:45 |
last_update | 2017-09-05 12:00:21 |
depth | 1 |
children | 0 |
last_payout | 2017-09-12 11:58:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 135 |
author_reputation | 15,333,700,816 |
root_title | "Less is More - Sexy JavaScript Array Transformations" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 13,939,740 |
net_rshares | 0 |