Data Structures: Use Spread and Notes for ES5 Set() Integration
This commit is contained in:
parent
0973091ac5
commit
c5b1dc2825
7
Data Structures/es6SetToArray.js
Normal file
7
Data Structures/es6SetToArray.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
// https://www.freecodecamp.org/learn/coding-interview-prep/data-structures/use-spread-and-notes-for-es5-set-integration
|
||||||
|
|
||||||
|
function checkSet(set) {
|
||||||
|
// Only change code below this line
|
||||||
|
return [...set];
|
||||||
|
// Only change code above this line
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user