Functional Programming vs OOP in JavaScript

What is the difference between these two paradigms?

Jakob Klamser
Level Up Coding
Published in
7 min readSep 7, 2020

--

Photo by Joan Gamell on Unsplash

What is the difference between OOP and functional programming? To figure this out we will be writing a small factorial website calculator. The first approach uses functional programming, the second one OOP.

Introduction

--

--