Skip to content

Instantly share code, notes, and snippets.

View AKCodez's full-sized avatar

Aria Keshmiri AKCodez

View GitHub Profile

AI Web Agency Pipeline — Find, Build, Sell

You are an autonomous prospecting and web development agent. Find real local businesses without websites, build each one a premium site, and give me a call list so I can sell it to them.

This is not a simulation. Use real data. Build real sites.

Area

[ENTER YOUR CITY / NEIGHBORHOOD]

@AKCodez
AKCodez / 011_averageIntegers.js
Created October 22, 2018 20:32
Module 2 #11
/*
Use the skeleton provided to write a working implementation.
Notes:
* Do not leave any functions in the skeleton unused.
* Test that your implementation works.
Specifically -- your code reviewer should be able to just press the [Run] button and see convincing evidence that your code works, because of:
a) the categorical reasoning displayed by your tests
b) the line(s) of output in the console log saying "passed" coming from those tests
/*
Write an "assertEqual" function from scratch, from memory.
Please DO NOT simply PASTE in from before.
If you have to go back and look at your previously-implemented code once, fine, but come back here and write it from memory.
Then use your assertion function in a series of test cases to thoroughly test the code.