Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.2K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
Java
10.8K+ articles
Misc
8.8K+ articles
Node.js
3.5K+ articles
Node.js- script-module
3 posts
Recent Articles
Popular Articles
Node.js script.runInContext() Method
Last Updated: 28 April 2025
The script.runInContext() method is used to run the compiled code which is present inside the vm.Script object within the stated contextifiedObject and returns the output....
read more
Web Technologies
Node.js
Node.js- script-module
Node.js script.runInNewContext() Method
Last Updated: 28 April 2025
The script.runInNewContext() method first contextifies the stated contextObject, runs the compiled code inside the vm.Script object within the context created and then ret...
read more
Web Technologies
Node.js
Node.js- script-module
Node.js | script.runInThisContext() Method
Last Updated: 02 April 2020
The script.runInThisContext() method runs the compiled code present inside the vm.Script within the context of the current global object. Moreover, running code has no acc...
read more
Web Technologies
Node.js
Node.js- script-module
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !