What difference. Function y (x) { var y =x } and. function y (x){ this.x =x } | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What difference. Function y (x) { var y =x } and. function y (x){ this.x =x }

difference

18th Oct 2017, 7:08 AM
Ikbal Mulyadi
Ikbal Mulyadi - avatar
3 Answers
+ 2
I might be mistaken but I believe Function is a built-in keyword in JS while function is just a function's name.
18th Oct 2017, 7:43 AM
Drax
Drax - avatar
- 2
same question wt me,JavaScript is boring, it not like HTML and CSS
18th Oct 2017, 7:36 AM
Omoregie Promise
Omoregie Promise - avatar