From 2e04ee03c6bb97ae8a16ec3060aa2cf55e906a68 Mon Sep 17 00:00:00 2001 From: Ted Winslow Date: Thu, 23 Jul 2015 08:52:50 -0400 Subject: [PATCH] typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7192b95..38ea306 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ You can use wildstring for string interpolation, which makes for an easier inter ``` js wildstring.replace('I * node.*', [ 'love', 'js' ]); // 'I love node.js' wildstring.replace('I * node.*', 'script'); // 'I script node.script' * this behavior is the same as "I * node.*".replace("*", "script") and actually uses that method -wildstring.replace('I * node.*', [ 'love' ]); // THROMS AN ERROR, wildcard count and number of strings to insert must match +wildstring.replace('I * node.*', [ 'love' ]); // THROWS AN ERROR, wildcard count and number of strings to insert must match wildstring.replace('*/*/*', [ new Date.getMonth() + 1, new Date.getDate(), new Date.getFullYear]); // 7/15/2015 (or whatever day it is), probably better to learn the js date parser though ```