Last active
December 9, 2017 07:20
-
-
Save Ibro/1ddff009fd8b49f122f41bd55b9d6304 to your computer and use it in GitHub Desktop.
JavaScript helpers - https://codingblast.com/organising-javascript-helpers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import User from './UserHelpers'; | |
const alice = { | |
firstName: 'Alice', | |
lastName: 'Gray', | |
points: 78, | |
}; | |
const fullName = User.getFullName(alice); | |
const category = User.getCategory(alice); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment