代码块标题

可以为代码块添加文件名标题,方便说明代码来源:

utils/debounce.js
export function debounce(fn, delay) {
  let timer = null;
  return function (...args) {
    clearTimeout(timer);
    timer = setTimeout(() => fn.apply(this, args), delay);
  };
}