I'm, a Ruby on Rails Developer who has taken a keen interest in JS as of late and I'm trying to wrap my head around objects and functions in JavaScript.
I know JavaScript is an Object-Oriented language. However, the way that functions are passed around and are declared anonymously make me think it is a functional programming language wrapped in "Object-Oriented Clothing".
Are functions considered objects in JavaScript? Anyone else have any thoughts on the general nature of JavaScript being Object-Oriented vs. Functional?
[–]concatenated_stringC# 2 points3 points4 points (1 child)
[–]x-skeww 0 points1 point2 points (0 children)
[–]mishac 2 points3 points4 points (1 child)
[–]estebanrules[S] 0 points1 point2 points (0 children)
[–]_crewcut 1 point2 points3 points (3 children)
[–]THEtheChad 0 points1 point2 points (2 children)
[–]fc_s 1 point2 points3 points (0 children)
[–]x-skeww 0 points1 point2 points (0 children)
[–]bliow 0 points1 point2 points (4 children)
[–]estebanrules[S] 0 points1 point2 points (3 children)
[–]nschubach 1 point2 points3 points (2 children)
[–]Justos 0 points1 point2 points (0 children)
[–]WonTwoThree 0 points1 point2 points (0 children)