Skip to content

Instantly share code, notes, and snippets.

Last active December 9, 2017 07:20
What would you like to do?
import { getUserCategory, getUserFullName } from './user-helpers';
const alice = {
firstName: 'Alice',
lastName: 'Gray',
points: 78,
const fullName = getUserFullName(alice);
const category = getUserCategory(alice.points);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment