Skip to content

Instantly share code, notes, and snippets.

@trptcolin
Created May 18, 2019 10:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trptcolin/ad3b18cf251f5316a0ea5dc306efcf70 to your computer and use it in GitHub Desktop.
Save trptcolin/ad3b18cf251f5316a0ea5dc306efcf70 to your computer and use it in GitHub Desktop.
console.log("start");
Object.defineProperty = function defineProperty(object) {
return object;
}
console.log("end");
Object.defineProperty = function defineProperty(object) {
return object;
}
console.log("end");
[colin:node-11.12.0-playground] $ ./node_modules/node/bin/node --version
v11.12.0
[colin:node-11.12.0-playground] $ ./node_modules/node/bin/node /tmp/log_both.js
start
end
[colin:node-11.12.0-playground] $ ./node_modules/node/bin/node /tmp/log_end.js
[colin:node-11.12.0-playground] $ cd ../node-11.11.0-playground
[colin:node-11.11.0-playground] $ ./node_modules/node/bin/node --version
v11.11.0
[colin:node-11.11.0-playground] $ ./node_modules/node/bin/node /tmp/log_both.js
start
end
[colin:node-11.11.0-playground] $ ./node_modules/node/bin/node /tmp/log_end.js
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment