Reputation: 21
I am studying via tutorial, on email authentication. Inside the user.js
file, there's an equal sign that looks like a hamburger menu. I have searched online and it talks about it on Wikipedia but I see no solution as to how to "type" the character in my code. The code inside of my user.js
file looks like this:
userScheama.methods = {
authenticate: function(plainText) {
return this.encryptPassword(plainText) <☰ symbol here> this.hashed._password;
},
Upvotes: 2
Views: 130
Reputation: 21399
This is probably a ligature used within your editor to display triple equals (===
) as a triple bar (e.g. something like to ☰
).
Your editor probably also has a way to disable this feature, if you'd rather it be displayed without the ligature as ===
.
A straightforward way to check would be to copy the text and paste it somewhere that you know ligatures aren't enabled, such as in your web browser's search bar.
Upvotes: 0