Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Possible to get the V8 JavaScript engine version number in JavaScript in Chrome

I see that the most stable release for V8 is 3.26.9 I'm wondering if it is possible to get this version number in JavaScript directly, or even find the version number that Chrome is using somehow. Any way to do this?

like image 817
Ryan Avatar asked May 02 '14 03:05

Ryan


People also ask

How do I check my V8 version in Chrome?

Finding the head of the corresponding branch. Example: for the V8 minor version 5.9 found above, we go to https://chromium.googlesource.com/v8/v8.git/+/branch-heads/5.9, finding a commit titled “Version 5.9. 211.33”. Thus, the version of V8 that embedders should use at the time of this writing is 5.9.

Is V8 a JavaScript engine?

V8 is Google's open source high-performance JavaScript and WebAssembly engine, written in C++. It is used in Chrome and in Node.js, among others. It implements ECMAScript and WebAssembly, and runs on Windows 7 or later, macOS 10.12+, and Linux systems that use x64, IA-32, ARM, or MIPS processors.

Is a JavaScript engine used in Chrome's V8?

Chrome V8 is a JavaScript engine, which means that it executes JavaScript code. Originally, JavaScript was written to be executed by web browsers. Chrome V8, or just V8, can execute JavaScript code either within or outside of a browser, which makes server-side scripting possible.

Where can I find JavaScript engine?

Notable enginesV8 from Google is the most used JavaScript engine. Google Chrome and the many other Chromium-based browsers use it, as do applications built with CEF, Electron, or any other framework that embeds Chromium. Other uses include the Node. js and Deno runtime systems.


1 Answers

Not directly via Javascript no, but you could map each Chrome version to the V8 engine.

To find the v8 version that Chrome is using, simply look it up using the URI: chrome://version/

like image 105
hexalys Avatar answered Oct 26 '22 05:10

hexalys