@nafizaalam Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
I am new to JavaScript (started learning it this week). I've completed the CodeCademy course (actually just Objects 1 && 2 parts, rest was boring). I thought I learned prototypal inheritance with constructors, but than I've started watching Douglas Crockford: Advanced JavaScript
Right at the be...
I recently stumbled upon the Object.create() method in JavaScript, and am trying to deduce how it is different from creating a new instance of an object with 'new SomeFunction()', and when you would want to use one over the other.
Consider the following example:
var test = {val: 1, func: functi...
I have a queue of handlers that I need to execute in order of insertion then wait for each one to return a resolved promise before executing the next in line.
I have decided to use a recursive function to shift a handler out of the queue then execute it. When the handler resolves its promise the...