Skip to content

Commit de0c244

Browse files
authored
Merge pull request #454 from Vetlix/feat/empty-array
feat(js): empty array fn
2 parents 5695d14 + 7dcea63 commit de0c244

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

javascript/vetlix_empty_array.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
const empty = arr => arr.length = 0;

0 commit comments

Comments
 (0)