Skip to content

Conversation

@inanfatih
Copy link

No description provided.

console.log(arrayWithMultipleTypes);
// Can you compare infinities? Does 6/0 === 10/0? How can you test this?
console.log(
'I was thinking as if Infinitys are not comparable but according to the following test, they are comparable and Infinity = Infinity'
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm glad you were able to test this!

Math.round(7.25);
console.log(Math.round(7.25));
// Declare a variable number and assign the number 7.25 to it.
aNumber = 7.25;
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is good, but don't forget to use the let or const keyword for variables.

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