Skip to content

Instantly share code, notes, and snippets.

View sophie-eihpos's full-sized avatar
💉
GMO

Sophie sophie-eihpos

💉
GMO
View GitHub Profile
@sophie-eihpos
sophie-eihpos / JS-LINQ.js
Created March 23, 2017 21:44 — 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 }
using System;
using System.IO;
using System.Linq;
namespace ExplicitDependencies
{
class Program
{
static void Main(string[] args)
{