Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Опечатка урок 34 #148

Closed
Abra19 opened this issue Feb 16, 2023 · 1 comment
Closed

Опечатка урок 34 #148

Abra19 opened this issue Feb 16, 2023 · 1 comment

Comments

@Abra19
Copy link

Abra19 commented Feb 16, 2023

class Point {
x = 0;
y = 0;
}

const p = new Point();
console.log(p); // (0, 0)

Последняя строка - должно быть:
console.log(p); // { x: 0, y: 0 }

@bondiano
Copy link
Collaborator

Большое спасибо, все поправим. Вы также можете внести изменения открыв pull request

bondiano added a commit that referenced this issue Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants