
{"id":16376,"date":"2015-05-11T17:39:05","date_gmt":"2015-05-11T17:39:05","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=16376"},"modified":"2015-05-11T17:39:05","modified_gmt":"2015-05-11T17:39:05","slug":"hacking-with-a-javascript-program","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2015\/05\/11\/hacking-with-a-javascript-program\/","title":{"rendered":"Hacking with a JavaScript Program"},"content":{"rendered":"<pre>\nvar drawCats = function (howManyTimes) {\n  for (var i = 0; i &lt; howManyTimes; i++) {\n    console.log(i + &quot; =^.^=);\n  }\n};\ndrawCats(11);\nVM455:4 Uncaught SyntaxError: Unexpected token ILLEGALmessage: &quot;Unexpected token ILLEGAL&quot;stack: (...)get stack: function () { [native code] }arguments: nullcaller: nulllength: 0name: &quot;&quot;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\nvar drawCats = function (howManyTimes) {\n  for (var i = 0; i &lt; howManyTimes; i++) {\n    console.log(i + &quot; =^.^= &quot;);\n  }\n};\ndrawCats(11);\nVM504:4 0 =^.^= \nVM504:4 1 =^.^= \nVM504:4 2 =^.^= \nVM504:4 3 =^.^= \nVM504:4 4 =^.^= \nVM504:4 5 =^.^= \nVM504:4 6 =^.^= \nVM504:4 7 =^.^= \nVM504:4 8 =^.^= \nVM504:4 9 =^.^= \nVM504:4 10 =^.^= \nundefined\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>var drawCats = function (howManyTimes) { for (var i = 0; i &lt; howManyTimes; i++) { console.log(i + &quot; =^.^=); } }; drawCats(11); VM455:4 Uncaught SyntaxError: Unexpected token ILLEGALmessage: &quot;Unexpected token ILLEGAL&quot;stack: (&#8230;)get stack: function () { [native code] }arguments: nullcaller: nulllength: 0name: &quot;&quot;prototype: StackTraceGetter__proto__: function Empty() {}set stack: function () { [native code] }arguments: &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2015\/05\/11\/hacking-with-a-javascript-program\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Hacking with a JavaScript Program&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[158,91],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16376"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=16376"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/16376\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=16376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=16376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=16376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}