Featured Collections

Latest Articles

Top Snippets

  • unzipWith

    JavaScript, Array

    Creates an array of elements, ungrouping the elements in an array produced by zip and applying the provided function.

  • pullBy

    JavaScript, Array

    Mutates the original array to filter out the values specified, based on a given iterator function.

  • useSearchParam

    React, Hooks

    Tracks the browser's location search param.

  • Displays an image overlay effect on hover.

  • kNearestNeighbors

    JavaScript, Algorithm

    Classifies a data point relative to a labelled data set, using the k-nearest neighbors algorithm.