blob: a4df4ed9ed7005d400087a1e1e92563704a05f2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
'use strict';
require('../common');
const assert = require('assert');
let exception = null;
try {
eval('"\\uc/ef"');
} catch (e) {
exception = e;
}
assert(exception instanceof SyntaxError);
|