Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //ES5 syntax
- console.log('requiring notes.js file');
- module.exports.userAge = function(){
- return '25 years';
- }
- //ES6 syntax. Use any one - ES5 above or this one.
- console.log('requiring notes.js file');
- module.exports.userHeight = () => {
- return '5.6 feets';
- }
Add Comment
Please, Sign In to add comment