Skip to content

Instantly share code, notes, and snippets.

@AshWilliams
Created August 27, 2021 22:13
Show Gist options
  • Save AshWilliams/2bb8d24eb5762f3b71ce5f7ea33bc40e to your computer and use it in GitHub Desktop.
Save AshWilliams/2bb8d24eb5762f3b71ce5f7ea33bc40e to your computer and use it in GitHub Desktop.

Revisions

  1. AshWilliams created this gist Aug 27, 2021.
    7 changes: 7 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    let videos = []

    let logArrayElements = (element, index, array) => {
    videos.push(element.href);
    }

    items.forEach(logArrayElements)