Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Scissor{
- constructor(me){
- this.me;
- this.situation;
- }
- }
- let Biggy = new Scissor(Game.creeps['Biggy']);
- TypeError: Cannot read property 'Biggy' of undefined
- class Scissor{
- constructor(me){
- this.me = me; // Здесь ошибка = me
- this.situation;
- }
- let Biggy = new Scissor(Game.creeps['Biggy']);
- SyntaxError: Unexpected strict mode reserved word
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement