JS One Liners
In this Hasty Treat, Scott and Wes talk about some Javascript one liners that speed up your coding experience in one line. Sponsor - Linode Whether you’re working on a personal project or managing enterprise infrastructure, you deserve simple, affordable, and accessible cloud computing solutions that allow you to take your project to the next level. Simplify your cloud infrastructure with Linode’s Linux virtual machines and develop, deploy, and scale your modern applications faster and easier. Get started on Linode today with a $100 in free credit for listeners of Syntax. You can find all the details at linode.com/syntax. Linode has 11 global data centers and provides 24/7/365 human support with no tiers or hand-offs regardless of your plan size. In addition to shared and dedicated compute instances, you can use your $100 in credit on S3-compatible object storage, Managed Kubernetes, and more. Visit linode.com/syntax and click on the “Create Free Account” button to get started. Sponsor - Sentry If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up. Show Notes 00:24:12 Welcome 01:24:11 Sponsor: Linode 02:11:02 Sponsor: Sentry 03:54:18 Twitter ask for One Liners 04:24:05 Math random const getPsuedoID =() => Math.floor(Math.random() * 1e15); 05:43:09 Random color Paul Irish random color '#'+Math.floor(Math.random()*16777215).toString(16); 06:41:06 Console.log as an object. console.log({ dog, person }); VS Marketplace Link 08:29:17 Edit anything document.designMode = "on" 10:15:15 Temporal date export const today = Temporal.Now.plainDateISO(); 11:44:05 Console(log) const myFunc = (age) ⇒ console.log(age) || updateAge() 13:26:13 Remove a prop const { propToRemove, ...rest } = obj; 15:29:01 PHP style debugging preElement.innerText ={JSON.stringify(val, '', ' ')}` 16:31:00 First and Last Destructure var {0: first, length, [length - 1]: last} = [1,2,3]; 17:34:17 Speed up audio video document.querySelector('audio, video’).playbackRate = 2 Overcast 19:44:15 Sleep function let sleep = (time = 0) => new Promise(r => setTimeout(r, time)) 20:26:00 If statements on one line If (!thing) return 'something' Tweet us your tasty treats Scott's Instagram LevelUpTutorials Instagram Wes' Instagram Wes' Twitter Wes' Facebook Scott's Twitter Make sure to include @SyntaxFM in your tweets

Det här avsnittet är hämtat från ett öppet RSS-flöde och publiceras inte av Podme. Det kan innehålla reklam.

Avsnitt(1014)

1014: Anthropic doesn’t use AI

1014: Anthropic doesn’t use AI

Scott, Wes, and CJ reunite fresh off a trip to Amsterdam to chat conferences, burnout, and whether Anthropic actually uses AI. They also dig into a packed bag of sick picks and tech news, including HT...

22 Juni 1h 32min

1013: Cloudflare Acquires VoidZero

1013: Cloudflare Acquires VoidZero

Live at JSNation in Amsterdam, Scott, Wes, and CJ break down Cloudflare’s acquisition of VoidZero, the company behind Vite, Vitest, Rolldown, and Oxc. They dig into why this is genuinely exciting, not...

17 Juni 14min

1012: Who Decides What Ships on the Web?

1012: Who Decides What Ships on the Web?

Scott and Wes sit down with Jake Archibald from Mozilla to unpack how web standards actually get made at Firefox. From browser features and developer feedback to the drama around the Prompt API. They ...

15 Juni 1h 9min

1011: tmux + Terminal Maxxing with Ben Vinegar

1011: tmux + Terminal Maxxing with Ben Vinegar

Scott and Wes sit down with Ben Vinegar, former Syntax GM and founder of Modem.dev, to geek out over terminal-maxxing, from SSH-based development and tmux workflows to AI-powered coding agents. Ben al...

8 Juni 1h 5min

1010: No one cares anymore?

1010: No one cares anymore?

On this episode, Scott and Wes dig into the messy reality of modern front-end work, from struggling to find skilled devs and navigating team chaos to questioning code quality, testing, and even whethe...

3 Juni 56min

1009: 54% AI-Generated and Climbing — State of AI

1009: 54% AI-Generated and Climbing — State of AI

Scott and Wes react to the freshly released State of AI 2026 survey, covering everything from skyrocketing AI adoption and the rise of coding agents to the pain points, job security fears, and big phi...

1 Juni 54min

1008: Diffs, Trees, and VS Code 2.0

1008: Diffs, Trees, and VS Code 2.0

Scott and Wes sit down with Alex Sexton and Amadeus De Marzi from Pierre Computer to dig into the gnarly performance challenges behind building blazing-fast code review tools, covering virtualization,...

27 Maj 59min

1007: 8 Tech Choices to Lock In Before Agentmaxxing

1007: 8 Tech Choices to Lock In Before Agentmaxxing

Wes and Scott talk about the foundational decisions that make AI-assisted coding actually work—database schemas, validation, routing, CSS structure, and more. They explore why consistency matters more...

25 Maj 17min

Populärt inom Politik & nyheter

svenska-fall
motiv
de-fyras-gang
p3-krim
rss-expressen-dok
tv4-nyheterna-story
aftonbladet-krim
aftonbladet-daily
svd-dokumentara-berattelser-2
flashback-forever
kungligt
spar
rss-krimreportrarna
rss-sanning-konsekvens
rss-flodet
rss-vad-fan-hande
olyckan-inifran
rss-frandfors-horna
rss-aftonbladet-krim
politiken