Skip to content

Instantly share code, notes, and snippets.

@Ibro
Last active December 11, 2017 08:29
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Ibro/b6bfd18a0d65f14899b2cc2c0c337ae4 to your computer and use it in GitHub Desktop.
import UserHelpers from './UserHelpers';
const alice = {
firstName: 'Alice',
lastName: 'Gray',
points: 78,
};
const fullName = UserHelpers.getFullName(alice);
const category = UserHelpers.getCategory(alice);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment