Skip to main content
The 2024 Developer Survey results are live! See the results
8 events
when toggle format what by license comment
Jun 23, 2021 at 20:43 history edited Peter Mortensen CC BY-SA 4.0
Active reading [<https://www.youtube.com/watch?v=1Dax90QyXgI&t=17m54s>] - though it could also be literal (but then it ought to be formatted as such, perhaps with link to, e.g., documentation).
Sep 16, 2020 at 6:52 history edited ANIK ISLAM SHOJIB CC BY-SA 4.0
added 30 characters in body
Sep 16, 2020 at 6:38 history edited ANIK ISLAM SHOJIB CC BY-SA 4.0
added 128 characters in body
Sep 16, 2020 at 6:32 history edited ANIK ISLAM SHOJIB CC BY-SA 4.0
added 128 characters in body
Sep 16, 2020 at 6:21 comment added B''H Bi'ezras -- Boruch Hashem You could instead do let filter = Object.fromEntries(Object.entries(myObject).filter(d => d !== 'regex' ))
Sep 16, 2020 at 6:20 comment added B''H Bi'ezras -- Boruch Hashem Yes it does but that's only useful if you are using the returned value of filter by resigning it to the original variable or another one, and also it only works if it's given a return value in the function passed in as a parameter to it, but none if those things are done here so it's only purpose is iterating the array elements, which is what forEach is for
Sep 16, 2020 at 6:15 comment added ANIK ISLAM SHOJIB but The filter() method creates an array filled with all array elements that pass a test so the sole purpose of the filter is reducing and creating a new array
Sep 18, 2019 at 10:59 history answered ANIK ISLAM SHOJIB CC BY-SA 4.0