mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Ashcon Partovi <ashcon@partovi.net> Co-authored-by: Electroid <Electroid@users.noreply.github.com> Co-authored-by: Meghan Denny <meghan@bun.sh> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
14 lines
189 B
TypeScript
14 lines
189 B
TypeScript
// await Bun.sleep(100);
|
|
|
|
interface User {
|
|
name: string;
|
|
}
|
|
|
|
const user = {
|
|
name: "Alistair",
|
|
} as User;
|
|
|
|
console.log(`First letter us '${user.name.charAt(0)}'`);
|
|
|
|
await Bun.sleep(100);
|