This content originally appeared on V8 and was authored by Ingvar Stepanyan (@RReverser)
Every four weeks, we create a new branch of V8 as part of our release process. Each version is branched from V8’s Git main immediately before a Chrome Beta milestone. Today we’re pleased to announce our newest branch, V8 version 9.7, which is in beta until its release in coordination with Chrome 97 Stable in several weeks. V8 v9.7 is filled with all sorts of developer-facing goodies. This post provides a preview of some of the highlights in anticipation of the release.
JavaScript #
findLast
and findLastIndex
array methods #
The findLast
and findLastIndex
methods on Array
s and TypedArray
s find elements that match a predicate from the end of an array.
For example:
[1,2,3,4].findLast((el) => el % 2 === 0)
// → 4 (last even element)
These methods are available without a flag starting in v9.7.
For more details, please see our feature explainer.
V8 API #
Please use git log branch-heads/9.6..branch-heads/9.7 include/v8\*.h
to get a list of the API changes.
Developers with an active V8 checkout can use git checkout -b 9.7 -t branch-heads/9.7
to experiment with the new features in V8 v9.7. Alternatively you can subscribe to Chrome’s Beta channel and try the new features out yourself soon.
This content originally appeared on V8 and was authored by Ingvar Stepanyan (@RReverser)
Ingvar Stepanyan (@RReverser) | Sciencx (2021-11-05T00:00:00+00:00) V8 release v9.7. Retrieved from https://www.scien.cx/2021/11/05/v8-release-v9-7/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.