fork download
  1. +function() {
  2. var hui = () => { this.pizda = 1; };
  3. var eba = new hui();
  4. console.log(eba)
  5. } ();
  6.  
  7. +function() {
  8. var hui = function() { this.pizda = 1; };
  9. var eba = new hui();
  10. console.log(eba)
  11. } ();
Runtime error #stdin #stdout #stderr 0.01s 30432KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
prog.js:3:0 TypeError: hui is not a constructor