Skip to content

Conversation

@iwaseem
Copy link

@iwaseem iwaseem commented Aug 30, 2019

No description provided.

//console.log('Aloha kākou honua!');

//Q2
//console.log('Im awesome');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should still keep the quote in the string!

You can escape the quote like this:

console.log('I\'m awesome');

Or use double quotes for your outer quotes like this:

console.log("I\'m awesome");

/*
//Q3
let age;
console.log ('You still Young, your age is:');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄
the instructions were asking you what you think the value of age is on line 17 before you give it a value.


//Q6
/*
var petStore = ('');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An array uses square brackets. Declaring an empty array would be this:

var petStore = [];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants