mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
255 B
255 B
date | id | title |
---|---|---|
2020-11-26 | a4ca4dd0-98ec-41a9-9220-815639dc5fe1 | anonymous |
Definition
Nameless functions
Examples
const nums = [1, 2, 3]
nums.map(x => x * 2)
nums = [1, 2, 3]
map(lambda x: x * 2, nums)