ES6 Set() usage issues
淡淡烟草味
淡淡烟草味 2017-05-18 10:49:19
0
1
522

How to save the created Set() in the form of an array to localStorage?

淡淡烟草味
淡淡烟草味

reply all(1)
左手右手慢动作
let a = new Set([1,2,3]);
let b = Array.from(a);
localStorage.setItem("somename",JSON.stringify(b))
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template