Assertion: promise | /r/HasProperty | passed in case
Facets:
Source sentences:
text: In this code, promises.map takes input values, turns them into promises (just in case a non-promise was passed) with p => Promise.resolve(p) , and then adds .then handler to every one.