5. Consider the below code snippets, What will be the output?
const p = new Promise((res, rej) => {
res(1);
})
function basicReturn() {
return Promise.resolve(p);
}
async function asyncReturn() {
return p;
}
console.log(p === basicReturn());
console.log(p === asyncReturn());