#JavaScript tips of the day
Each function has an “array-like object” arguments, which contains the values of the parameters passed in the function
The arguments object👇
👉 is an array-like object but not an array
👉 arguments.length return the number of parameters#geek97 pic.twitter.com/dIEkAspJMc— Dhananjay Kumar (@debug_mode) March 20, 2020
#JavaScript tip of the day
You can create a read-only property by making 👇
writable = false
The age property of the Dog object can be made read-only as 👇
Object.defineProperty(Dog,'age',{writable:false});#geek97 pic.twitter.com/XD0Og6x45P
— Dhananjay Kumar (@debug_mode) March 19, 2020
#JavaScript tips👇
Each Property of a #JavaScript object has a Property descriptor that describes various characteristics👇
👉Whether value can be updated
👉Whether property can be enumerated etc.Find more about Property Descriptor in the image 👇♥️#gde #mvpbuzz #geek97 pic.twitter.com/iShYyMymLt
— Dhananjay Kumar (@debug_mode) March 18, 2020