Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
deferred.resolve
This:
jQuery.Deferred().resolve($.when(1)).then(d => console.log(d.then)); jQuery.Deferred().resolve(Promise.resolve(1)).then(d => console.log(d.then));
should log undefined but instead logs promises' then methods, diverging from native Promise.resolve behavior.
then
Promise.resolve