Skip to content

Instantly share code, notes, and snippets.

View liberaliscomputing's full-sized avatar

Meen Chul Kim liberaliscomputing

View GitHub Profile
@liberaliscomputing
liberaliscomputing / setOps.js
Created May 19, 2016 12:30 — forked from jabney/setOps.js
Fast JavaScript set operations: union, intersection, difference, complement, and equals. Includes support for objects.
// setOps.js MIT License © 2014 James Abney http://github.com/jabney
// Set operations union, intersection, symmetric difference,
// relative complement, equals. Set operations are fast.
(function(so) {
'use strict';
var uidList = [], uid;
// Create and push the uid identity method.