We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf91358 commit 750fb91Copy full SHA for 750fb91
_lib/group-adjacent.js
@@ -1,4 +1,4 @@
1
-// algorithmn copied from https://rlaanemets.com/post/show/group-array-by-adjacent-elements-in-javascript
+// algorithm copied from https://rlaanemets.com/post/show/group-array-by-adjacent-elements-in-javascript
2
function groupAdjacent(array, cb) {
3
return array.reduce((prev, cur) => {
4
if (prev.length > 0) {
0 commit comments