The conversation between human and AI assistant.
[|Human|] Write a JavaScript snippet to capitalize the first letter of a word.
[|AI|] Here's a short JavaScript function that will capitalize the first letter of a word:

```
function capitalizeFirstLetter(word) {
  return word.charAt(0).toUpperCase() + word.slice(1);
}
```
You can use this function in your code like this:

`let capitalizedWord = capitalizeFirstLetter("hello");`

The `capitalizedWord` variable will now hold the value `"Hello"`.
[|Human|] 
Write a JavaScript snippet to capitalize the first letter of a word.