Return to site

JS ARRAY API EXPLAINED: map, filter, every, some, fill, findIndex, find, reduce

ยท angular

๐Ÿ•๐Ÿ•๐Ÿ•๐Ÿ•.map(๐Ÿ•=>๐Ÿถ) โžก ๐Ÿถ๐Ÿถ๐Ÿถ๐Ÿถ

๐Ÿ•๐Ÿถ๐Ÿ•๐Ÿ•.filter(๐Ÿถ) โžก ๐Ÿถ

๐Ÿ•๐Ÿ•๐Ÿถ๐Ÿ•.every(๐Ÿ•) โžก false

๐Ÿ•๐Ÿถ๐Ÿถ๐Ÿ•.some(๐Ÿถ) โžก true

๐Ÿ•๐Ÿ•๐Ÿ•๐Ÿ•.fill(๐Ÿถ,1) โžก ๐Ÿ•๐Ÿถ๐Ÿถ๐Ÿถ

๐Ÿ•๐Ÿ•๐Ÿถ๐Ÿ•.findIndex(el=>el===๐Ÿถ) โžก 2

๐Ÿ•๐Ÿถ๐Ÿ•๐Ÿ•.find(๐Ÿถ) โžก ๐Ÿถ

๐Ÿฅ’๐Ÿ…๐Ÿž๐Ÿง€.reduce((acc,cur)=>acc+cur) โžก ๐Ÿฅช

All Posts

Almost doneโ€ฆ

We just sent you an email.ย Please click the link in the email to confirm your subscription!