"isFinite",
"isNaN",
],
- Object: [
- "keys",
- "getOwnPropertyNames",
- ],
String: [
"fromCharCode",
],
operator: car.operator,
expression: left
});
- } else car.write_only = false;
+ } else {
+ car.write_only = false;
+ }
if (parent) {
parent[field] = car;
expressions[i] = expressions[j];
}
expect_stdout: true
}
+
+issue_2231_1: {
+ options = {
+ evaluate: true,
+ unsafe: true,
+ }
+ input: {
+ console.log(Object.keys(void 0));
+ }
+ expect: {
+ console.log(Object.keys(void 0));
+ }
+ expect_stdout: true
+}
+
+issue_2231_2: {
+ options = {
+ evaluate: true,
+ unsafe: true,
+ }
+ input: {
+ console.log(Object.getOwnPropertyNames(null));
+ }
+ expect: {
+ console.log(Object.getOwnPropertyNames(null));
+ }
+ expect_stdout: true
+}