SOURCE

let count = 0;

function merigeNumber(num) {
  
}

Promise.resolve(++count).then((data) => {
  resolve(data++);
}).then((data) => {
  console.log(data);
});
console 命令行工具 X clear

                    
>
console