Search results for topic undefined topic undefined episode 6

Exploring the Abyss of Null and Undefined in JavaScript

by Ryan Morr

undefined is returned instead: var value = (function(){})(); // returns undefined An argument not supplied to a function invocation will result in an undefined parameter: (function(undefined){ // parameter is undefined

Modern Web Best Practice: Pub/Sub

by Tyson Cadenhead

…the world of Pub/Sub, the event name is referred to as a “topic”. By calling amplify.publish we can activate the event that is listening for the topic that is called….

A DOM Manipulation Class in 100 Lines of JavaScript

by Krasimir Tsonev

…case ‘object’: if(typeof el.nodeName != ‘undefined‘) { api.el = el; } else { var loop = function(value, obj) { obj = obj || this; for(var prop in obj) { if(typeof…

45 Useful JavaScript Tips, Tricks and Best Practices

by Saad Mousliki

…return true items.length; // return 11 /* items will be equal to [12, 548, “a”, undefined × 1, 5478, “foo”, 8852, undefined × 1, “Doe”, 2154, 119] */ Use… var…

A Gentle Introduction to Monads in JavaScript

by Brian Rinaldi

…go here … if (typeof value === ‘undefined‘ || value === null || (typeof value.isNothing !== ‘undefined‘ && value.isNothing())) { return Nothing; } return Something(value); }; Now we can refactor…

How to create an advanced HTML5 placeholder polyfill

by Brian Rinaldi

…methods is shown below: enable: function() { return this.each(function() { var placeholder = “”; if (typeof $(this).attr(“placeholder”) !== “undefined“) placeholder = $(this).attr(“placeholder”); else if (typeof $(this).attr(“data-audero-unp-text”) !== “undefined“) placeholder =…

Best of JavaScript, HTML & CSS – Week of September 2, 2013

by Brian Rinaldi

…Arduino using Node.js, MongoDB, HTML5 and Websockets. heimcontrol.js Etc. The latest episode of Topic Undefined (aka The Episode of Doom), a web and mobile developer podcast I do with Raymond…

Best of JavaScript, HTML & CSS – Week of September 16, 2013

by Brian Rinaldi

…the latest episode of the Topic Undefined podcast, Raymond Camden and I discuss CSS, JavaSript best practices and more. Topic UndefinedEpisode 5 Latest Edge Code preview includes all…

BDD in JavaScript with CucumberJS

by Todd Anderson

…essentially means that all the steps have not been located or defined: UUUUUU 2 scenarios (2 undefined) 6 steps (6 undefined) You can implement step definitions for undefined steps with…

Best of JavaScript, HTML & CSS – August 5, 2013

by Brian Rinaldi

…3 of the Topic Undefined podcast, Raymond Camden and I disagree on important developer issues. Guess who’s right? No, I meant me. Topic UndefinedEpisode 3 This experiment shows…