This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// time and time end | |
console.time("This"); | |
let total = 0; | |
for (let j = 0; j < 10000; j++) { | |
total += j | |
} | |
console.log("Result", total); | |
console.timeEnd("This"); | |
// Memory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Company A": "requires an apartment or house, and property insurance." | |
"Company B": "requires 5 door car or 4 door car, and a driver's license and car insurance." | |
"Company C": "requires a social security number and a work permit." | |
"Company D": "requires an apartment or a flat or a house." | |
"Company E": "requires a driver's license and a 2 door car or a 3 door car or a 4 door car or a 5 door car." | |
"Company F": "requires a scooter or a bike, or a motorcycle and a driver's license and motorcycle insurance." | |
"Company G": "requires a massage qualification certificate and a liability insurance." | |
"Company H": "requires a storage place or a garage." | |
"Company J": "doesn't require anything, you can come and start working immediately." | |
"Company K": "requires a PayPal account." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"companies": [ | |
{ | |
"id": 1, | |
"name": "Company A", | |
"description": "The description Company A", | |
"requirements": [ "bike", "4 doors car"] | |
}, | |
{ | |
"id": 2, |