Skip to main content
The 2024 Developer Survey results are live! See the results
31 events
when toggle format what by license comment
Dec 13, 2023 at 22:49 answer added Vasily Ivanov timeline score: 0
Nov 27, 2023 at 5:18 comment added Dhritiman Tamuli Saikia Even MDN suggesting this Stack Overflow link
May 12, 2023 at 18:45 history protected CommunityBot
Dec 29, 2022 at 1:49 answer added Alynva timeline score: -1
Oct 7, 2022 at 16:16 answer added Mr. Polywhirl timeline score: 4
Sep 28, 2022 at 16:25 answer added jeevnesh nandwana timeline score: 3
Jul 28, 2022 at 15:48 answer added Stefnotch timeline score: 17
Dec 23, 2021 at 11:24 answer added Rakesh Singh Balhara timeline score: 5
Oct 20, 2021 at 13:16 answer added Cbaskey.it timeline score: -6
Aug 31, 2021 at 9:40 history edited zhulien CC BY-SA 4.0
added 4 characters in body
May 19, 2021 at 13:33 answer added Martin P. timeline score: 4
Oct 9, 2020 at 18:06 vote accept rynop
Sep 18, 2020 at 5:09 answer added Alok Somani timeline score: 31
Nov 26, 2019 at 13:04 history edited Yashwardhan Pauranik CC BY-SA 4.0
added 1 character in body
Nov 25, 2019 at 11:49 answer added am0wa timeline score: 12
Nov 15, 2019 at 17:57 answer added Cody timeline score: 16
Oct 30, 2019 at 12:54 answer added metodribic timeline score: 35
Jun 24, 2019 at 4:32 history edited Bergi
edited tags
Jun 18, 2019 at 10:20 answer added Imamudin Naseem timeline score: 4
May 15, 2019 at 13:15 answer added Pawel timeline score: 458
Jan 11, 2019 at 5:27 answer added Evan Carroll timeline score: 53
Nov 24, 2018 at 19:10 answer added Bergi timeline score: 175
Nov 24, 2018 at 17:18 history reopened Brad javascript
Nov 20, 2018 at 15:20 comment added Franklin Yu @Oriol What if it is possible for key name to be same as default properties? obj[key] may get you something unexpected. Consider the case if (!obj[key]) obj[key] = newList; else obj[key].mergeWith(newList);.
May 10, 2018 at 8:42 comment added user56reinstatemonica8 If your keys are guaranteed to be strings (or numbers) and your values arrays, you can do something like [...someMap.entries()].join(';'); for something more complex you could try something similar using something like [...someMap.entries()].reduce((acc, cur) => acc + `${cur[0]}:${/* do something to stringify cur[1] */ }`, '')
Apr 10, 2018 at 22:05 comment added PatS I was able to get this to work. The results are on Plunkr at embed.plnkr.co/oNlQQBDyJUiIQlgWUPVP. The solution uses a JSON.stringify(obj, replacerFunction) which checks to see if a Map object is being passed and converts the Map object to a Javascript object (that JSON.stringify) will then convert to a string.
Apr 4, 2018 at 15:58 comment added David Chase interesting article on the topic 2ality.com/2015/08/es6-map-json.html
Mar 16, 2015 at 19:41 vote accept rynop
Oct 9, 2020 at 18:06
Mar 16, 2015 at 19:39 history closed Bergi javascript Duplicate of How do I persist a ES6 Map in localstorage (or elsewhere)?
Mar 16, 2015 at 19:34 answer added Oriol timeline score: 73
Mar 16, 2015 at 19:19 history asked rynop CC BY-SA 3.0