---
title: "X 归档 2024-10-10"
date: "2024-10-10"
tags:
  - x-archive
---

<div class="x-arch-meta">2 条动态 · 图 0 · 视频 1</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1844098004585762838" id="xl-1844098004585762838-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1844098004585762838" id="xl-1844098004585762838-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1699791641706655744/nZ6TDnaI_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/ChromiumDev" target="_blank" rel="nofollow noopener" data-name="Chrome for Developers" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1699791641706655744/nZ6TDnaI_bigger.jpg">@ChromiumDev</a><span class="x-arch-time">03:30</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1844098004585762838-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1844098004585762838-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/ChromiumDev/status/1844098004585762838" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Unlock the power of scheduler.yield() and improve your app's performance! <br /><br />This function can help you break down long tasks and yield back to the main thread, resulting in a better user experience.<br /><br />Learn more from Developer Advocate, @petele: <a href="https://goo.gle/3TCMO5F" target="_blank" rel="noopener">https://goo.gle/3TCMO5F</a></div>
    <div class="x-arch-text x-arch-trans">解锁 scheduler.yield() 的威力，提升应用的性能！<br /><br />这个函数能帮你拆分长任务、把控制权交还主线程，带来更好的用户体验。<br /><br />更多内容请看开发者布道师 @petele 的讲解：</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2024-10/1844098004585762838-poster.jpg" src="/cdn-media/x/2024-10/1844098004585762838.m3u8" width="480" height="852" data-duration="51" aria-label="@ChromiumDev 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1844269554475880482" id="xl-1844269554475880482-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1844269554475880482" id="xl-1844269554475880482-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/653235651752517632/NcqE9VJo_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/robpalmer2" target="_blank" rel="nofollow noopener" data-name="Rob Palmer" data-avatar="https://twimg.tweb.xin/twimg/profile_images/653235651752517632/NcqE9VJo_bigger.jpg">@robpalmer2</a><span class="x-arch-time">14:51</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1844269554475880482-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1844269554475880482-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/robpalmer2/status/1844269554475880482" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">ECMAScript excitement 😉<br /><br />This week @TC39 advanced these proposals 🎉<br /><br />4⃣ Import Attributes<br />4⃣ Iterator Helpers<br />4⃣ Promise.try<br />4⃣ RegExp Modifiers<br />3⃣ Atomics.pause<br />3⃣ Math.sumPrecise<br />2⃣.7⃣ Error.isError<br />2⃣.7⃣ Iterator Sequencing<br />2⃣ Extractors<br />2⃣ Iterator Chunking<br />2⃣ Structs<br /><br />🧵</div>
    <div class="x-arch-text x-arch-trans">ECMAScript 令人兴奋 😉<br /><br />本周 @TC39 推进了以下提案 🎉<br /><br />4⃣ Import Attributes<br />4⃣ Iterator Helpers<br />4⃣ Promise.try<br />4⃣ RegExp Modifiers<br />3⃣ Atomics.pause<br />3⃣ Math.sumPrecise<br />2⃣.7⃣ Error.isError<br />2⃣.7⃣ Iterator Sequencing<br />2⃣ Extractors<br />2⃣ Iterator Chunking<br />2⃣ Structs<br /><br />🧵</div>
  </div>
</div>
