mirror of
https://github.com/nodejs/node.git
synced 2025-05-07 06:31:11 +00:00

PR-URL: https://github.com/nodejs/node/pull/10550 Reviewed-By: Rich Trott <rtrott@gmail.com>
8 lines
232 B
JavaScript
8 lines
232 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const assert = require('assert');
|
|
const v8 = require('v8');
|
|
|
|
assert.throws(function() { v8.setFlagsFromString(1); }, TypeError);
|
|
assert.throws(function() { v8.setFlagsFromString(); }, TypeError);
|