Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Lu committed Aug 8, 2024
1 parent b3155a9 commit d92e650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/hack-school/js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ let y = false;
let person = {firstName: "John", lastName: "Doe"};

// Array object
let communites = ["Hack", "AI", "Cyber", "Design"];
let communities = ["Hack", "AI", "Cyber", "Design"];
```

## Equality
JavaScript offers loose equality (==) and strict equality (===) operators for comparison.
It's recommended to always use strict equality to avoid unexpected type conversions. Strict equaltiy checks for both
It's recommended to always use strict equality to avoid unexpected type conversions. Strict equality checks for both
value and type while loose equality checks only value.

Example:
Expand Down

0 comments on commit d92e650

Please sign in to comment.