SHARE
TWEET

Untitled

a guest Jun 15th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Scissor{
  2.  
  3.     constructor(me){
  4.         this.me;
  5.         this.situation;
  6.     }
  7. }
  8.      
  9. let Biggy = new Scissor(Game.creeps['Biggy']);
  10.      
  11. TypeError: Cannot read property 'Biggy' of undefined
  12.      
  13. class Scissor{
  14.  
  15. constructor(me){
  16.     this.me = me; // Здесь ошибка = me
  17.     this.situation;
  18. }
  19.      
  20. let Biggy = new Scissor(Game.creeps['Biggy']);
  21.      
  22. SyntaxError: Unexpected strict mode reserved word
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top