Prototype and Prototype chainingPrototype : every object in javscript have built in property , which is called Prototype. INHERITANCE in Javscript : is called PROTOTYPAL Inheritance .When you try to access property of object , property will not only be looked for in object but on t...Feb 15, 2023·2 min read
Array Method In JavascriptPOP(): pop() => method removes last element from the array=> example- const fruits = ["Banana", "Orange", "Apple", "Mango"];fruits.pop(); PUSH()=> push method add new element to an array at the end. example: const fruits = ["Banana", "Orange", "Apple...Jan 5, 2023·2 min read
Before and after selector in cssDefinition and Usage The ::after selector inserts something after the content of each selected element(s). Use the content property to specify the content to insert. Use the ::before selector to insert something before the content. Example Insert con...Dec 1, 2022·1 min read