(
()=>{
var thePromise = Promise.resolve("Yo");
var thePromiseEtalon = thePromise;
console.log (Promise.resolve( thePromise ) === thePromise, thePromiseEtalon === thePromise);
// true true
// Тут нужно добавить одно выражение чтобы
console.log (Promise.resolve( thePromise ) === thePromise, thePromiseEtalon === thePromise);
// false true
// Тут нужно добавить одно выражение чтобы
console.log (Promise.resolve( thePromise ) === thePromise, thePromiseEtalon === thePromise);
// true true
}
)()
Post #1624
1.94K
К вопросу о задачах про промисы, которые имеют смысл.