v8.cachedDataVersionTag()


这对于判断 vm.Script cachedData 缓冲区是否与此 V8 实例兼容很有用。

Returns an integer representing a "version tag" derived from the V8 version, command line flags and detected CPU features. This is useful for determining whether a vm.Script cachedData buffer is compatible with this instance of V8.