Skip to content

Instantly share code, notes, and snippets.

'use strict';
var P = require('promise');
P.all([1,2,3]).then(function(results){
console.log('P.all success, results', results);
var a = invalid.property; // oops
console.log('after the invalid property')
}, function(err) {
console.log('P.all error', err);