(contextifiedObject)
| 157 | } |
| 158 | |
| 159 | function validateContext(contextifiedObject) { |
| 160 | if (!isContext(contextifiedObject)) { |
| 161 | throw new ERR_INVALID_ARG_TYPE('contextifiedObject', 'vm.Context', |
| 162 | contextifiedObject); |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | function getRunInContextArgs(contextifiedObject, options = kEmptyObject) { |
| 167 | validateObject(options, 'options'); |
no test coverage detected
searching dependent graphs…