How to Hide Your Angular Properties โ€“ # vs private Explained

1 ยท freeCodeCamp.org ยท June 20, 2023, 10:36 p.m.
Have you noticed a hash symbol showing up in Angular code samples? If not, you may see it soon. What is the purpose of the # and when should you use it? The # symbol was recently added to JavaScript to denote private class properties. Making a class variable private...