Skip to content

Commit 29ac069

Browse files
committed
update V8 extern
1 parent 36937d0 commit 29ac069

File tree

1 file changed

+9
-0
lines changed
  • javascript/externs/vm

1 file changed

+9
-0
lines changed

javascript/externs/vm/v8.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@
2828
function CallSite() {}
2929

3030

31+
/**
32+
* Runs the garbage collector, provided that you start V8 with --expose-gc or
33+
* Chrome with --js-flags="--expose-gc".
34+
* See https://v8.dev/docs/memory-leaks
35+
* @type {undefined|function()}
36+
*/
37+
CallSite.prototype.gc;
38+
39+
3140
/**
3241
* Returns the value of this.
3342
* @return {Object|undefined}

0 commit comments

Comments
 (0)