Fix order of argument name and its type in document
Fix argument type

`opts` is optional argument.
Use `//` for evaluated values

The JavaScript comment should be beginning with `//`, not `=>`.
Merge pull request #2206 from tricknotes/fix-document-in-code

Fix document in code