mvaload / js-pairs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

js-pairs

Install

npm install hexlet-pairs --save

Using

import { cons, car, cdr, toString } from 'hexlet-pairs';

const pair = cons(3, 5);
car(pair); // 3
cdr(pair); // 5
toString(pair); // (3, 5)

About


Languages

Language:JavaScript 91.1%Language:Makefile 8.9%