Dukkan sigogi v0.1.2478 Sep 2026Zane shafi, JavaScript da JIT Feed

An rubuta bayanan sabuntawa da Turanci.

JavaScript correctness: text, arrays, and promise interop

A correctness release for JavaScript, the language behind every interactive page. Five fixes bring Floati's handling of text, arrays, and promises in line with what a mainstream browser does, so more of the code real sites ship just runs. Text is now measured and cut using the exact unit browsers use, so emoji and non-Latin scripts behave correctly; string searches honour the position you ask them to start from; the modern Array.fromAsync helper is now available; wrapping a string as an object behaves like the string it holds; and Floati now interoperates with promise-like objects from other libraries, waiting on them and taking their result the way the standard requires. Every one of these is locked in by the automatic conformance checks, verified on every build across the interpreter and both speed-up tiers. Pages that used none of this are unchanged. The JavaScript language aspect moves 86 to 87.

Abin da ya canza

canje-canje 5
  1. Zane shafiText is measured and cut the way browsers do. Floati now counts and slices text in the same unit every browser uses (a UTF-16 code unit), so a string's length, reading a character by position, slicing, searching, and padding all line up exactly with the reference browser, including for emoji, symbols, and characters outside the basic Latin set. Plain English text was already correct; this fixes the edge that scripts hit when they handle emoji or non-Latin scripts.
  2. Zane shafiString searches honour where you tell them to start. Asking whether text contains, starts with, or ends with something from a given offset, or finding the next match after a point, now begins exactly there instead of ignoring the position, matching how the same code behaves in a mainstream browser.
  3. JavaScript da JITThe modern Array.fromAsync helper is now available. It collects the values from an asynchronous source, such as an async iterator, into a real array and hands back a promise, so newer code that builds arrays from streaming or awaited data works without a workaround.
  4. JavaScript da JITWrapping a string as an object behaves like the string. Code that boxes a string into an object (something libraries and older code do) can now read its length, index its characters, call every text method on it, and loop over it, where before those silently returned nothing or raised an error.
  5. JavaScript da JITFloati interoperates with promise-like objects from other libraries. When you wait on, resolve, or combine a value that merely looks like a promise (a jQuery Deferred, an older promise library, or any object with a then method), Floati now adopts it correctly: it waits for that object to settle and takes its result or error, instead of handing back the wrapper unresolved.
Duk tun v0.1.247 a wuri ɗaya

Sigogi

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026