-2

Im a bit new to javascript and I am trying to understand how backbone.js and understand how it works, however there are times that I run into lines like this:

"admin"=>password_hash("pass",PASSWORD_BCRYPT)

I understand this code is crypting the pass however i dont understand the => symbol.

Furthermore, I have encountered the :: and I dont understand it either.

Anyone know where I can read about this better? I have been searching but I have been unsuccessful to find any tutorial that explains it clearly.

Thanks!

Ja͢ck
  • 170,779
  • 38
  • 263
  • 309
user2018553
  • 43
  • 1
  • 1
  • 5

1 Answers1

0

That looks more like PHP. You can start here PHP.NET

As for :: take a look at this (:: used in Classes )
Logical operators
Comparison Operators

Community
  • 1
  • 1
Grmn
  • 542
  • 2
  • 9