What is the underscore “_” in JavaScript? [duplicate]

This is convention of private methods and variables. In JavaScript there is no real privacy of classes.

It means that you should not use these method (starting with “_“) out of your object. Of course technically you can, but “_” means that you should not.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)