Skip to content

Tag: javascript

How does this code work in context with reduce function?

It might be a very basic question for people here but I have to ask away. So I was going through reducce recently and I came through this example where I could find the maximum of some value in an array of object. Please, have a look at this code. If I write soemthing like this to find the maximum

JavaScript Template Engines that don’t require Node

I have experimented with several of the template engines that work with Express. I am looking for an engine that can work in a single HTML file by adding the CDN link; in other words, a non-Node project, no WebPack, no Gulp files. Just an HTML and javascript files. So far, I’ve found that Mustache can d…