SHARE
TWEET

Untitled

a guest Nov 15th, 2017 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const app = require("express")();
  2.  
  3. app.get("*", (req, res) => {
  4.   console.log("REQ");
  5.   res.status(200).end();
  6.   const arr = [];
  7.  
  8.   for(let i = 0; i < 100000000; i++){
  9.     arr.push(arr.concat(arr));
  10.   }
  11. });
  12.  
  13. app.listen(1026, () => {
  14.   console.log("listening on port 1026 with args", process.argv, "and exec args", process.execArgv);
  15. });
RAW Paste Data
Top