Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
working

juanpumpkinpie juanpumpkinpie

:octocat:
working
  • Poland
View GitHub Profile
@juanpumpkinpie
juanpumpkinpie / console.js
Created Dec 28, 2019 — forked from Harshmakadia/console.js
Mastering JS console like a Pro
View console.js
// 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
View info.json
"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."
View companies.json
{
"companies": [
{
"id": 1,
"name": "Company A",
"description": "The description Company A",
"requirements": [ "bike", "4 doors car"]
},
{
"id": 2,