Skip to content

Homework 3#2

Open
Phantom123-cloud wants to merge 7 commits into
masterfrom
homework-3
Open

Homework 3#2
Phantom123-cloud wants to merge 7 commits into
masterfrom
homework-3

Conversation

@Phantom123-cloud
Copy link
Copy Markdown
Owner

No description provided.

Comment thread 03/script.js

// String: capitalize
let str = "cANBerRa"
let result = (word) => word[0].toUpperCase() + word.slice(1).toLowerCase()
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

use better naming

Comment thread 03/script.js
}

// String: capitalize
let str = "cANBerRa"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

even if in task says let think if you really need to create variable via let or const

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