Pause execution for a number of milliseconds using async/await
const sleep = (ms) => new Promise(r => setTimeout(r, ms))
Capitalize the first character of a string
Copy text to the user's clipboard using the Clipboard API
Delay function execution until user stops typing
Deep copy an object (works for JSON-serializable data)