Hacker GitHub

← All repos

slmgc/Nothing

View on GitHub ↗ ★ 366 JavaScript

A chainable, callable mock object which always returns itself

3 mentions on Hacker News by 2 people: 1 story, 2 comments · first 2018-03-31 · latest 2018-04-25

Mentions per year 3 mentions · busiest year 2018 (3)
20082026
  1. This would also solve the case of objects that pretend to have every property as a function, e.g.: https://github.com/slmgc/Nothing
    comment by twiss · 2018-04-25 · in JavaScript Symbol.thenable Proposal
  2. Added a FAQ section: https://github.com/slmgc/Nothing#faq
  3. ▲ 89
    Show HN: Nothing.js – A chainable mock object which always returns itself
    story by slmgc · 2018-03-31 · 40 comments