Fix examples or JavaScript docs in the Writing Codebase Docs guide.
Review Request #8272 — Created July 7, 2016 and submitted
Our JavaScript codebase docs guide says to use type primitive names like "string", "number", etc., but then the examples end up using the objects instead. This fixes up the examples to be consistent with the guidelines.
Built the docs and checked the examples.