Last active
December 11, 2017 08:29
-
-
Save Ibro/b6bfd18a0d65f14899b2cc2c0c337ae4 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 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