Janji Langsung Resolve

  Promise.resolve().then(() => {
    console.log('resolved');
  });
  console.log('end');

// end
// resolve
Mysterious Monkey