Syntax - Tasty Web Development Treats cover image

570

Syntax - Tasty Web Development Treats

Import Assertions in JavaScript Scripts

2min Snip

00:00
Play full episode
It's not fully supported everywhere yet, but eventually that will be there. You don't have to do the read file type of thing. Like I want what does that compile to probably node APIs? Oh, that's a great question. Haven't looked. Or it just puts it in a string and makes a JavaScript file that exports that string. It's definitely not node APIs because that would not work if it was client side.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode