---
title: "Bob Jones (@crazy4groovy) | Hashnode"
description: "JavaScript developer. Read the latest articles by Bob Jones on Hashnode."
url: "https://hashnode.com/@crazy4groovy"
---

@crazy4groovy

# Bob Jones

@crazy4groovy · Joined October 2020

JavaScript developer

## Comments

["As you all know that JavaScript is synchronous, using console or any callback or promise/fetch will make the function asynchronous." Using console doesn't make the function asynchronous. It may likely make it technically impure though (although it doesn't affect the idempotency of the function either, so that's debatable). To be clear, a function that calls another function can still be a pure function.](https://hashnode.com/posts/pure-vs-impure-functions/62833c6f504da209d8557134/comment/6285cc0983966a1653f13ab1)

Comment · Article · May 19, 2022 · [Pure vs Impure Functions](https://hashnode.com/posts/pure-vs-impure-functions/62833c6f504da209d8557134)

[Hm, what happens with multi-line logs?](https://hashnode.com/posts/remove-all-consolelog-from-your-project-in-less-than-a-minute/6121fc30e404793819caa6ea/comment/612cd3d8fd0bf8636d76ff7a)

Comment · Article · Aug 30, 2021 · [Remove all console.log() from your project in less than a minute](https://hashnode.com/posts/remove-all-consolelog-from-your-project-in-less-than-a-minute/6121fc30e404793819caa6ea)

[Hi Skay, thanks for the article. There is an incorrect comment in your code: //Higher order function - takes 'func' as an argument & returns a 'func' for execution const higherOrderFunction = function(func, a, b) { return func(a, b); } This function is not actually returning a function, but rather the result of the callback function, which is data. A more concise example might be: const sum = function(a, b) { return a + b; } //Higher order function - takes 'func' as an argument & returns a 'func' for execution const higherOrderFunction = (func) => (a, b) => { return func(a, b); } const sumFor = higherOrderFunction(sum); console.log(sumFor(2,3)); Here, higherOrderFunction takes func and returns a function, which then takes a,b and return data. Cheers!](https://hashnode.com/posts/es6-higher-order-functions/5f86951976870f43aa09d304/comment/5f8872136eb39417ce5e43c6)

Comment · Article · Oct 15, 2020 · [ES6 - Higher-Order Functions](https://hashnode.com/posts/es6-higher-order-functions/5f86951976870f43aa09d304)
