Skip to content
Latest: The updated version of the Creating NPM Package (React JavaScript) book is out

Edit It: Does the last public class field overwrite the previous ones with the same name?

Home>Class Fields in JavaScript Explained>Edit It: Does the last public class field overwrite the previous ones with the same name?

Edit It: Does the last public class field overwrite the previous ones with the same name?

This code shows that the last public class field overwrites the previous ones with the same name.

See it on StackBlitz