function debounce(fn, ms = 250) {
let timer;
return (...args) => {
clearTimeout(timer);
timer = setTimeout(() => fn(...args), ms);
};
}
const isOdd = (n) => n % 2 !== 0;Licence
Free
Bundled with the operating system; nothing to install.
Ligatures
No
No programming ligatures.
Where to get it
System
Ships with supported operating systems; there is nothing to download.
Use Menlo in VS Code
Paste this into your settings to set Menlo for the editor. The fallbacks are the same ones CodeFont writes.
{
"editor.fontFamily": "'Menlo', 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace"
}Where to get Menlo
Menlo ships with supported operating systems — there is nothing to download.
About the Menlo coding font
A system font built into macOS. Menlo is a free monospace coding font without programming ligatures.
Menlo ships with supported operating systems, so there is nothing to download before you try it, and the specimen above renders in the real face on those systems. It is one of the 95 families in the CodeFont catalog.
Menlo FAQ
Is Menlo free?
Yes. Menlo is bundled with supported operating systems, so there is no separate purchase.
Does Menlo support ligatures?
No. Menlo has no programming ligatures, so sequences such as -> and != are drawn as separate characters.
Where can I get Menlo?
Menlo is already on supported systems — there is nothing to download.
Set Menlo in VS Code.
CodeFont applies it to your editor or terminal in one click — local, no telemetry.