CRLSCSClub / CRLSTime

A clock for showing the CRLS schedule during the school day
6 stars 10 forks source link

Change all == to === to ensure safer comparisons #15

Closed scornman closed 7 years ago

scornman commented 7 years ago

This change is mainly a test of doing a pull request from a forked repository. But the small style change is a good one. The == operator in javascript does some really weird things when comparing operands of different types, while the === operator enforces that the types must be the same. For that reason, === should be used in almost all cases, in my experience.