Functional Programming vs OOP in JavaScript
What is the difference between these two paradigms?
Published in
7 min readSep 7, 2020
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.