diff --git a/doc/api/vm.md b/doc/api/vm.md index c8a0a27c991f0d..2113fafb6317cb 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -112,6 +112,18 @@ Creating a new `vm.Script` object compiles `code` but does not run it. The compiled `vm.Script` can be run later multiple times. The `code` is not bound to any global object; rather, it is bound before each run, just for that run. +### `script.cachedDataRejected` + + + +* {boolean|undefined} + +When `cachedData` is supplied to create the `vm.Script`, this value will be set +to either `true` or `false` depending on acceptance of the data by V8. +Otherwise the value is `undefined`. + ### `script.createCachedData()`