deleting property in vm context has no effect
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 35.1k
Closed
Description
opened
on Apr 19, 2016- Version: 4.4.3, 5.10.1
- Platform: Arch Linux 4.5.0
Example failure:
const vm = require('vm'); const sbox = { }; vm.createContext(sbox); vm.runInContext(` this.x = 'w00t'; delete this.x; `, sbox); console.log(sbox); // { x: 'w00t' }
Expected sbox.x to be undefined.
Metadata
Metadata
Assignees
No one assigned
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions