Skip to content

Instantly share code, notes, and snippets.

View allanegidio's full-sized avatar

Allan Egidio allanegidio

  • LoLo
View GitHub Profile
@allanegidio
allanegidio / JS-LINQ.js
Created February 5, 2019 18:43 — forked from DanDiplo/JS-LINQ.js
JavaScript equivalents of some common C# LINQ methods. To help me remember!
// JS array equivalents to C# LINQ methods - by Dan B.
// Here's a simple array of "person" objects
var people = [
{ name: "John", age: 20 },
{ name: "Mary", age: 35 },
{ name: "Arthur", age: 78 },
{ name: "Mike", age: 27 },
{ name: "Judy", age: 42 },
{ name: "Tim", age: 8 }