Mark S. Miller (2014-02-24T18:22:12.000Z)
domenic at domenicdenicola.com (2014-03-02T22:31:11.975Z)
On Mon, Feb 24, 2014 at 10:13 AM, Jeff Morrison <lbljeffmo at gmail.com> wrote: > ```js > Promise.resolve('hai'); // Promise('hai') > ``` If by the comment's notation you mean a promise whose fulfillment is "hai", yes. Note though that the call `Promise("hai")` doesn't do this. > ```js > Promise.resolve(Promise.resolve('hai')); // Promise('hai') <-- is that right? I'm not sure where we're at here > ``` yes. > ```js > Promise.resolve('hai').then(function(value) { > console.log(value); // prints 'hai' > }); > ``` yes. > ``` > Promise.resolve(Promise.resolve('hai')).then(function(value) { > console.log(value); // prints 'hai' > }); > ``` yes. > ```js > Promise.cast === undefined; // true > ``` yes. A bit more informatively: ```js 'cast' in Promise; // false ``` > ```js > Promise.prototype.chain === undefined; // true > ``` yes. And likewise ```js 'chain' in Promise.prototype; // false ``` > PLEASE do not turn this into another debate thread, I'm really just > looking for a tldr thread tracking the latest standing on that topic. > If the standing changes again, feel free to update this thread -- but > otherwise please keep discussion in the other thread. ;)