---
title: "Barnabas Asha (@Barnabas) | Hashnode"
description: "Frontend developer. Read the latest articles by Barnabas Asha on Hashnode."
url: "https://hashnode.com/@Barnabas"
---

@Barnabas

# Barnabas Asha

@Barnabas · Lagos, Nigeria · Joined August 2020

Frontend developer

[Website](https://barnabas.lol/)

## Comments

[Great one boss](https://hashnode.com/posts/installing-and-setting-up-tailwind-css-for-your-web-project/624afda616cdedfe9f7d0ad5/comment/624b15fd16cdedfe9f7d0dfa)

Comment · Article · Apr 4, 2022 · [Installing and Setting Up Tailwind CSS For Your Web Project](https://hashnode.com/posts/installing-and-setting-up-tailwind-css-for-your-web-project/624afda616cdedfe9f7d0ad5)

[I'm glad you liked the article, In the case where an initial value is not specified the reducer starts from index 1 and the first member of the array (index 0) is taken as the accumulator for the first execution. arr = \[10, 20, 30, 40, 50\] callback = function (acc, cur) { return acc + cur } arr.reduce(callback) /\* first instance: 10 is taken as the initial val since one isn't specified and used as the accumulator So the callback returns \*/ return 10 + 20 /\* Then 30 becomes the accumulator for the next execution. And it goes on \*/ I hope I was able to shed more light and not confuse you. Feel free to reach me.](https://hashnode.com/posts/basics-of-javascript-reduce-method/5f2d4cb3b8ac395b1f23a08e/comment/5f3235712a23d9080d1794d1#reply-5f323b1f4332ee07eb55c22e)

Reply · Article · Aug 11, 2020 · [Basics Of JavaScript Reduce() Method](https://hashnode.com/posts/basics-of-javascript-reduce-method/5f2d4cb3b8ac395b1f23a08e)

[Thank you Didi](https://hashnode.com/posts/basics-of-javascript-reduce-method/5f2d4cb3b8ac395b1f23a08e/comment/5f3079113348367b2fc3f8dc#reply-5f3080ae3348367b2fc3f8ef)

Reply · Article · Aug 9, 2020 · [Basics Of JavaScript Reduce() Method](https://hashnode.com/posts/basics-of-javascript-reduce-method/5f2d4cb3b8ac395b1f23a08e)

[Here is the linkEdidiong Asikpo](https://hashnode.com/posts/technical-writing-what-and-how/5ed19894957247ce0a4f06c8/comment/5f2b41b43dddda50802a8dca#reply-5f305c8a273a577b50ca5dcb)

Reply · Article · Aug 9, 2020 · [Technical Writing: What and How?](https://hashnode.com/posts/technical-writing-what-and-how/5ed19894957247ce0a4f06c8)

[Yes i did Edidiong Asikpo Thank you](https://hashnode.com/posts/technical-writing-what-and-how/5ed19894957247ce0a4f06c8/comment/5f2b41b43dddda50802a8dca#reply-5f30575e273a577b50ca5db2)

Reply · Article · Aug 9, 2020 · [Technical Writing: What and How?](https://hashnode.com/posts/technical-writing-what-and-how/5ed19894957247ce0a4f06c8)

[Thanks man](https://hashnode.com/posts/basics-of-javascript-reduce-method/5f2d4cb3b8ac395b1f23a08e/comment/5f2d55483b12e25afe3e4787#reply-5f2dbc533b12e25afe3e4aa0)

Reply · Article · Aug 7, 2020 · [Basics Of JavaScript Reduce() Method](https://hashnode.com/posts/basics-of-javascript-reduce-method/5f2d4cb3b8ac395b1f23a08e)

[Thanks boss](https://hashnode.com/posts/basics-of-javascript-reduce-method/5f2d4cb3b8ac395b1f23a08e/comment/5f2d563b3b12e25afe3e4797#reply-5f2dbc4bb8ac395b1f23a3d6)

Reply · Article · Aug 7, 2020 · [Basics Of JavaScript Reduce() Method](https://hashnode.com/posts/basics-of-javascript-reduce-method/5f2d4cb3b8ac395b1f23a08e)

[You taught me well ma](https://hashnode.com/posts/basics-of-javascript-reduce-method/5f2d4cb3b8ac395b1f23a08e/comment/5f2da8afb8ac395b1f23a372#reply-5f2dbc3c3b12e25afe3e4a9c)

Reply · Article · Aug 7, 2020 · [Basics Of JavaScript Reduce() Method](https://hashnode.com/posts/basics-of-javascript-reduce-method/5f2d4cb3b8ac395b1f23a08e)

[I know I'd love writing but I just believed I didn't have the skills. Didi, Thank you for this article. It's timely, I hope to go on with my plan to publish something by Friday.](https://hashnode.com/posts/technical-writing-what-and-how/5ed19894957247ce0a4f06c8/comment/5f2b41b43dddda50802a8dca)

Comment · Article · Aug 5, 2020 · [Technical Writing: What and How?](https://hashnode.com/posts/technical-writing-what-and-how/5ed19894957247ce0a4f06c8)
