We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 799b5f8 commit 721c4a9Copy full SHA for 721c4a9
1 file changed
index.js
@@ -51,7 +51,8 @@ function Sentencer() {
51
// THE GOODS
52
// ---------------------------------------------
53
54
-Sentencer.prototype.make = function(template, maxIterations = 1) {
+Sentencer.prototype.make = function(template, maxIterations) {
55
+ maxIterations = maxIterations || 1;
56
var self = this;
57
58
var sentence = template;
0 commit comments