forked from TheOdinProject/javascript-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjoinStrings.js
More file actions
25 lines (18 loc) · 727 Bytes
/
joinStrings.js
File metadata and controls
25 lines (18 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
First name: Carlos
Last name: Stevenson
This year: 1965
Birth year: 1947
The greeting should read: "Hello! My name is Carlos Stevenson and I am 18 years old."
*/
// Add your code right below, good luck!
// Do not change this
module.exports = {
firstName: typeof firstName === 'undefined' ? undefined : firstName,
lastName: typeof lastName === 'undefined' ? undefined : lastName,
thisYear: typeof thisYear === 'undefined' ? undefined : thisYear,
birthYear: typeof birthYear === 'undefined' ? undefined : birthYear,
greeting: typeof greeting === 'undefined' ? undefined : greeting,
fullName: typeof fullName === 'undefined' ? undefined : fullName,
age: typeof age === 'undefined' ? undefined : age
}