Skip to content

False Positives

Ian Irving's Code and Culture from Toronto

Menu

Primary menu

  • Home
  • Connected Thinking
  • Archives
  • LinkRoll
  • About

Day: December 1, 2009

JavaScript Function to get the Intersect of 2 Arrays

Posted on 1 December, 2009 by Ian — 2 Comments ↓

In mathematics, the intersection (denoted as ∩) of two sets A and B is the set that contains all elements of A that also belong to B. I needed the javascript array equivalent, so that given an array A = Continue reading JavaScript Function to get the Intersect of 2 Arrays→

Posted in Code, JavaScript, Web | 2 Replies

Primary Sidebar Widget Area

False Positives (Ian Irving) / CC BY 2.5 is licensed under a Creative Commons Attribution 2.5 Canada License.

LinkedIn Mastodon
Twitter GitHub

False Positives is the personal blog, powered by Coffee and WordPress, of Ian Irving, who lives in Toronto, Ontario, Canada.

The blog was started in April 2003.

Everything written here is my personal opinion and not that of my employer or clients.

Really.

LinkedIn
Mastodon
Twitter
GitHub

Footer menu

  • Home
  • Connected Thinking
  • Archives
  • LinkRoll
  • About
  • Twitter
  • Linkedin
  • YouTube
  • RSS Feed
  • Flickr
  • Github
Copyright © 2026 False Positives. All Rights Reserved.
Theme: Catch Box by Catch Themes
Scroll Up