Functional Programming

OOP

FNL

FQL

STATE

STATE

// STATEFUL
var number = 1; 
var statefulIncrementingFn = function(){
    number += 1; 
}




// STATELESS
var number2 = 1; 
var statelessIncrementingFn = function(n){
    return n + 1; 
}




Functional Programming

By ayana28

Functional Programming

  • 1,275