Skip to content

Instantly share code, notes, and snippets.


Amal Shehu amalshehu

Block or report user

Report or block amalshehu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
amalshehu / gemHunt.js
Created May 28, 2017
Find total assets
View gemHunt.js
//Assets calculator
let people = [{
"id": 1, // Person Id
"name": "Amal Shehu", // Name of person
"date": "2017-5-27", // Date
"totalAssets": 500, // Sum of total (gems collected)
"gems": [{ // Gems collected from forest
"total": 500, // totalCollected * value
"value": 100, // Value of one gem (Ruby = 100)
You can’t perform that action at this time.