Skip to content
Latest: Publish JavaScript Packages to NPM Like a Pro!

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

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

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

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

See it on StackBlitz