Removes all spaces from a string.
$ npm install get-full-name
const getFullName = require('getFullName');
//=> When we have all the three name components.
getFullName('firstName', 'lastName', 'middleName');
//=> When we have only first name and last name.
getFullName('firstName', 'lastName');
//=> Name can be passed as an object
let name = {
firstName: '',
middleName: '',
lastName: '',
};
getFullName(name);