Skip to content

Instantly share code, notes, and snippets.

@walkerofmargins
Created July 12, 2019 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walkerofmargins/65842be7bdece8059ca4a3702af1c529 to your computer and use it in GitHub Desktop.
Save walkerofmargins/65842be7bdece8059ca4a3702af1c529 to your computer and use it in GitHub Desktop.
function blankify(human) {
if (!human) {
return ' '
} else return human
}
var accountTeam = new Object();
accountTeam.csm = blankify("Bob")
accountTeam.rm = blankify("Nancy"),
accountTeam.im = blankify(),
accountTeam.sa = blankify("Raymond"),
console.log (accountTeam.csm)
console.log(accountTeam.rm)
console.log (accountTeam.im)
console.log(accountTeam.sa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment