Media Summary: reworked version: using the Array() constructor, fill(), and reduce()instead of n*(n+1)/2. updated version: a little bit about class prototype attributes class info: ... updated version: yet another example of the classic template literal and ternary operator ...

Archived Codewars 8 Kyu Grasshopper Summation Javascript - Detailed Analysis & Overview

reworked version: using the Array() constructor, fill(), and reduce()instead of n*(n+1)/2. updated version: a little bit about class prototype attributes class info: ... updated version: yet another example of the classic template literal and ternary operator ... we use the reduce() method in this one reduce() info: ... using Object.assign() and Array.from() to complete some rooms. updated version: here we're gonna use the string object to do something kata link: ...

this one uses the this keyword kata link: updated version: get an average via reduce() another example of the ternary operator in action. this one uses the String() constructor, spread syntax (...), and more kata link: ... updated version: just a little bug to fix. this one has us debugging some temperature code kata link: ...

updated version: a very elementary example of how to use map()

Photo Gallery

(Archived) Codewars 8 kyu Grasshopper Summation JavaScript
Codewars 8 kyu Grasshopper - Summation Javascript
(Archived) Codewars 8 kyu Grasshopper - Terminal Game #1 JavaScript
(Archived) Codewars 8 kyu Grasshopper - Debug JavaScript
Codewars 8 kyu Grasshopper - Array Mean Javascript
Codewars 8 kyu Grasshopper - Create the Rooms JavaScript
(Archived) Codewars 8 kyu Sum the Strings JavaScript
Codewars 8 kyu Grasshopper - Terminal Game #1 Javascript
(Archived) Codewars 8 kyu Count of Positives / Sum of Negatives JavaScript
(Archived) Codewars 8 kyu How Good Are You Really? JavaScript
Codewars 8 kyu Grasshopper - Terminal Game Combat Function JavaScript
Codewars 8 kyu Grasshopper - Terminal Game Turn Function JavaScript
View Detailed Profile
(Archived) Codewars 8 kyu Grasshopper Summation JavaScript

(Archived) Codewars 8 kyu Grasshopper Summation JavaScript

reworked version: https://youtu.be/f2PL0r7uNCw using the Array() constructor, fill(), and reduce()instead of n*(n+1)/2.

Codewars 8 kyu Grasshopper - Summation Javascript

Codewars 8 kyu Grasshopper - Summation Javascript

this one uses the

(Archived) Codewars 8 kyu Grasshopper - Terminal Game #1 JavaScript

(Archived) Codewars 8 kyu Grasshopper - Terminal Game #1 JavaScript

updated version: https://youtu.be/fdeiDS89MJc a little bit about class prototype attributes class info: ...

(Archived) Codewars 8 kyu Grasshopper - Debug JavaScript

(Archived) Codewars 8 kyu Grasshopper - Debug JavaScript

updated version: https://youtu.be/OA5JMxsUWsc yet another example of the classic template literal and ternary operator ...

Codewars 8 kyu Grasshopper - Array Mean Javascript

Codewars 8 kyu Grasshopper - Array Mean Javascript

we use the reduce() method in this one reduce() info: ...

Codewars 8 kyu Grasshopper - Create the Rooms JavaScript

Codewars 8 kyu Grasshopper - Create the Rooms JavaScript

using Object.assign() and Array.from() to complete some rooms.

(Archived) Codewars 8 kyu Sum the Strings JavaScript

(Archived) Codewars 8 kyu Sum the Strings JavaScript

updated version: https://youtu.be/CDjy2E6KAmE here we're gonna use the string object to do something kata link: ...

Codewars 8 kyu Grasshopper - Terminal Game #1 Javascript

Codewars 8 kyu Grasshopper - Terminal Game #1 Javascript

this one uses the this keyword kata link: https://www.

(Archived) Codewars 8 kyu Count of Positives / Sum of Negatives JavaScript

(Archived) Codewars 8 kyu Count of Positives / Sum of Negatives JavaScript

reworked version: https://youtu.be/N0tuLt7mhGI a complex (for

(Archived) Codewars 8 kyu How Good Are You Really? JavaScript

(Archived) Codewars 8 kyu How Good Are You Really? JavaScript

updated version: https://youtu.be/NA-DYV76Pxk get an average via reduce()

Codewars 8 kyu Grasshopper - Terminal Game Combat Function JavaScript

Codewars 8 kyu Grasshopper - Terminal Game Combat Function JavaScript

another example of the ternary operator in action.

Codewars 8 kyu Grasshopper - Terminal Game Turn Function JavaScript

Codewars 8 kyu Grasshopper - Terminal Game Turn Function JavaScript

putting some functions in order.

Codewars 8 kyu Grasshopper - If/Else Syntax JavaScript

Codewars 8 kyu Grasshopper - If/Else Syntax JavaScript

another deceptively simple one.

Codewars 8 kyu Keep Hydrated! Javascript

Codewars 8 kyu Keep Hydrated! Javascript

this one uses the String() constructor, spread syntax (...), and more kata link: ...

Codewars 8 kyu Grasshopper - Messi Goals Function JavaScript

Codewars 8 kyu Grasshopper - Messi Goals Function JavaScript

very simple.

(Archived) Codewars 8 kyu Unexpected Parsing Javascript

(Archived) Codewars 8 kyu Unexpected Parsing Javascript

updated version: https://youtu.be/WI60GSBLqpg just a little bug to fix.

Codewars 8 kyu Grasshopper - Debug Javascript

Codewars 8 kyu Grasshopper - Debug Javascript

this one has us debugging some temperature code kata link: ...

Codewars 8 kyu Grasshopper - Order of Operations Javascript

Codewars 8 kyu Grasshopper - Order of Operations Javascript

some more bug fixing.

(Archived) Codewars 8 kyu Invert Values JavaScript

(Archived) Codewars 8 kyu Invert Values JavaScript

updated version: https://youtu.be/CTwnkwvA6_0 a very elementary example of how to use map()