Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

global require for current line

var fs = require("fs");

function foo() {

    if (condition) {
        var fs = require("fs");
    }
}
 
PREVIOUS NEXT
Tagged: #global #require #current #line
ADD COMMENT
Topic
Name
8+6 =