Skip to content

Instantly share code, notes, and snippets.

@Ibro Ibro/JavaScriptHelpers.js
Last active Dec 9, 2017

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
You can’t perform that action at this time.