UNPKG

hexlet-pairs

Version:
19 lines (13 loc) 236 B
# js-pairs ## Install ```sh npm install hexlet-pairs --save ``` ## Using ```javascript import { cons, car, cdr, toString } from 'hexlet-pairs'; const pair = cons(3, 5); car(pair); // 3 cdr(pair); // 5 toString(pair); // (3, 5) ```