I'm Pretty sure most of you must have seen it, this automated and dynamically typing stuff all over the web today.
Well, i'm here to let you know how.
You have to create a function , then use the this keyword attached with some attributes which does the same thing as referring to the function you just created as shown below
Secondly, you use the prototype syntax of writing,
also all logic goes in here, e.g the length, speed of movement etc..
Lastly , You initialize and use it on the DOM , depending on what you want or how you want to use it.
READ, CLAP, SHARE
follow for more [devsinstitute(https://instagram.com/devsinstitute)