var drawCats = function (howManyTimes) {
for (var i = 0; i < howManyTimes; i++) {
console.log(i + " =^.^=);
}
};
drawCats(11);
VM455:4 Uncaught SyntaxError: Unexpected token ILLEGALmessage: "Unexpected token ILLEGAL"stack: (...)get stack: function () { [native code] }arguments: nullcaller: nulllength: 0name: ""prototype: StackTraceGetter__proto__: function Empty() {}set stack: function () { [native code] }arguments: nullcaller: nulllength: 1name: ""prototype: StackTraceSetter__proto__: function Empty() {}__proto__: Errorconstructor: function SyntaxError() { [native code] }name: "SyntaxError"stack: (...)get stack: function () { [native code] }set stack: function () { [native code] }__proto__: d
var drawCats = function (howManyTimes) {
for (var i = 0; i < howManyTimes; i++) {
console.log(i + " =^.^= ");
}
};
drawCats(11);
VM504:4 0 =^.^=
VM504:4 1 =^.^=
VM504:4 2 =^.^=
VM504:4 3 =^.^=
VM504:4 4 =^.^=
VM504:4 5 =^.^=
VM504:4 6 =^.^=
VM504:4 7 =^.^=
VM504:4 8 =^.^=
VM504:4 9 =^.^=
VM504:4 10 =^.^=
undefined