源代码: lib/v8.js
node:v8 模块公开了特定于 Node.js 二进制文件中内置的 V8 版本的 API。可以使用以下方式访问它:
node:v8
¥The node:v8 module exposes APIs that are specific to the version of V8 built into the Node.js binary. It can be accessed using:
const v8 = require('node:v8'); 拷贝
const v8 = require('node:v8');