2015-05-19 13:00:06 +02:00
|
|
|
'use strict';
|
2015-09-27 15:31:36 -07:00
|
|
|
require('../common');
|
2016-01-13 21:42:45 +01:00
|
|
|
const assert = require('assert');
|
|
|
|
let exception = null;
|
2012-06-09 18:47:18 +01:00
|
|
|
|
2012-06-14 16:06:53 +02:00
|
|
|
try {
|
|
|
|
eval('"\\uc/ef"');
|
|
|
|
} catch (e) {
|
|
|
|
exception = e;
|
|
|
|
}
|
|
|
|
|
|
|
|
assert(exception instanceof SyntaxError);
|