V8 release v9.7

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 u…


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 Arrays and TypedArrays 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)


Print Share Comment Cite Upload Translate Updates
APA

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/

MLA
" » V8 release v9.7." Ingvar Stepanyan (@RReverser) | Sciencx - Friday November 5, 2021, https://www.scien.cx/2021/11/05/v8-release-v9-7/
HARVARD
Ingvar Stepanyan (@RReverser) | Sciencx Friday November 5, 2021 » V8 release v9.7., viewed ,<https://www.scien.cx/2021/11/05/v8-release-v9-7/>
VANCOUVER
Ingvar Stepanyan (@RReverser) | Sciencx - » V8 release v9.7. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/11/05/v8-release-v9-7/
CHICAGO
" » V8 release v9.7." Ingvar Stepanyan (@RReverser) | Sciencx - Accessed . https://www.scien.cx/2021/11/05/v8-release-v9-7/
IEEE
" » V8 release v9.7." Ingvar Stepanyan (@RReverser) | Sciencx [Online]. Available: https://www.scien.cx/2021/11/05/v8-release-v9-7/. [Accessed: ]
rf:citation
» V8 release v9.7 | Ingvar Stepanyan (@RReverser) | Sciencx | 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.

You must be logged in to translate posts. Please log in or register.