Hi, I'm a Software Engineer based in Sydney.
Backbone.js AngularJS jQuery Bootstrap HTML5 CSS3
A closure is an inner function that has access to the outer function's variables
When a comparison is made using the double-equals operator, it will check the values of both expressions and convert them to a common type and return true if both are equal. So comparing a number with a string having the same value will return true.
The triple-equals operator, also called strict equals or identically equal never does type converting. Instead it will compare the value and the type. So comparing a number with a string having the same value will return false.
JavaScript is single threaded so it is largely synchronous (blocking) but there are also asynchronous (non blocking) operations such as AJAX calls and events.
Promises are objects that represent the value of a long running operation and provide an API for handling that value when it arrives.
A promise can be:
This blog article explains the meaning of a promise in AngularJS in a very simple way.