…It is common to run functions that return results in JavaScript. With JavaScript being loosely typed, the returned value can be of any data …
http://idiallo.com/blog/javascript-how-do-i-check-if-this-variable-is-an-array
…Yes, I think it is fair to say that you can learn javascript in just 30 days. At least it did it for me. Not exactly 30 days but it was clos…
http://idiallo.com/blog/learning-javascript-in-just-30-days
…In my mind, the canvas in JavaScript represented an obscure dungeon that I would never dare to venture in. Many times I attempted but did no…
http://idiallo.com/blog/javascript-canvas
…a language with a not so simple syntax that is supposed to compile back to JavaScript. The selling point is, if you come from a OOP backgrou…
http://idiallo.com/blog/updating-javascript-to-unity3d-implementation
…write specific code for Internet Explorer but I don't like writing in line JavaScript or loading a separate script just for that. I wish bro…
http://idiallo.com/blog/detect-ie-version-with-js
…In JavaScript, you worry about whether your code will run on your user's browser. There are two options that I know of that you can use to m…
http://idiallo.com/blog/dynamic-function-definition-in-js
…I recently got into designing very small games using Javascript. Working with canvas in the browser helped me appreciate how vast and comple…
http://idiallo.com/blog/javascript-game-state-stack-engine
…My goal was to remove all external JavaScript files from the page and still be modular. After a year of procrastinating I finally got to it …
http://idiallo.com/blog/removing-external-js
… to read code on a 2 color layout. There are plenty of syntax highlighting JavaScript libraries available to download, but since I also like…
http://idiallo.com/blog/javascript-syntax-highlighter
…jQuery is the holy grail for JavaScript developers. It made everything so much easier. You never have to worry about browser quirks when wri…
http://idiallo.com/blog/jquery-does-that-in-a-line
…There are two ways to think of type coercion in JavaScript. One is to the dictionary definition, which is the conversion of values into comm…
http://idiallo.com/javascript/type-coercion-conversion-in-javascript
…Relative to other languages, learning JavaScript is a much easier process. It's easy to use it to add a functionality to your website. For e…
http://idiallo.com/javascript/organizing-your-javascript
… be an inferior experience. But despite all this advancement in technology JavaScript is still slow. Faster then before but still slow. Wel…
http://idiallo.com/javascript/improving-performance
…If you learn a JavaScript tutorial today, chances are they told you that all the scripts are loaded in the head of the document. Then as you…
http://idiallo.com/javascript/async-js
…an example: http://www.example.org/?foo=bar $_GET['foo']; // bar I wish JavaScript had a similar API but we since it doesn't we can creat…
http://idiallo.com/javascript/accessing-url-parameters
…JavaScript is known to host some quirky behavior. Most of the time however, all it takes is getting familiar with it to understand what is r…
http://idiallo.com/javascript/variables-always-equal-last-index
… first. I read the code I wrote in PHP and it made very little sense. Well JavaScript and PHP are a little different so to speak. Mainly whe…
http://idiallo.com/javascript/how-to-create-a-router
…JavaScript live collection is a subject that is rarely talked about. Earlier I had written about a caveat when using them. It did help peopl…
http://idiallo.com/javascript/magical-js-html-live-collection
…none by default. But what if you don’t have access to the HTML? Luckily, JavaScript has a convenient method for that. document.createEle…
http://idiallo.com/javascript/create-dom-elements-faster
…e is a clear reason why you should use prototypes when creating classes in JavaScript. They use less memory. When a method is defined…
http://idiallo.com/javascript/why-use-prototypes