Skip to content

Commit

Permalink
Correct typo in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schütz committed Mar 23, 2015
1 parent 8454a49 commit e1196a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/document.js
Expand Up @@ -419,10 +419,10 @@ Document.prototype.update = function update () {
* }
* })
*
* // only-the-fly cast to number
* // on-the-fly cast to number
* doc.set(path, value, Number)
*
* // only-the-fly cast to string
* // on-the-fly cast to string
* doc.set(path, value, String)
*
* // changing strict mode behavior
Expand Down

0 comments on commit e1196a9

Please sign in to comment.