diff --git a/1-js/09-classes/01-class/article.md b/1-js/09-classes/01-class/article.md index 135d24929b..4ec0c2a675 100644 --- a/1-js/09-classes/01-class/article.md +++ b/1-js/09-classes/01-class/article.md @@ -291,13 +291,9 @@ Such features are easy to remember, as they resemble that of literal objects. ## Class fields -```warn header="Old browsers may need a polyfill" -Class fields are a recent addition to the language. -``` - -Previously, our classes only had methods. +Class fields are a standard part of the language and are supported in modern browsers. -"Class fields" is a syntax that allows to add any properties. +They provide a clean syntax for declaring properties directly inside the class body, without placing them inside the constructor. For instance, let's add `name` property to `class User`: