Skip to content

Commit 9ef393d

Browse files
committed
Add note on new null behavior in README.
1 parent 6766342 commit 9ef393d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ console.log(template.parameters); // Prints [{ key: "foo" }]
2020
console.log(template({ foo: "bar" })); // Prints "bar"
2121
```
2222

23-
Parameters can have default values, specified using a colon.
23+
Parameters can have default values, specified using a colon. These come into play when the parameter is either `undefined` or `null`.
2424

2525
```js
2626
var template = parse("{{foo:bar}}");

0 commit comments

Comments
 (0)