Category: Javascript

20
Dec
2019

JavaScript Code Finally Bujha   function Person(first, last, age, gender,interests){ this.name={ first:first, last=last }; this.age=age; this.gender=gender; this.interests=interests;…

20
Dec
2019

Code: <!DOCTYPE html> <html> <head> <meta charset=”utf-8″> <title>Object-oriented JavaScript example</title> </head> <body> <script> const person={ name:[‘Syed Ahmed’,’Zaki’],…

20
Dec
2019

What is this keyword in OOP

What is “this”? You may have noticed something slightly strange in our methods. Look at this one…

20
Dec
2019

JavaScript OOP Paradigm Clear

https://www.freecodecamp.org/news/an-introduction-to-object-oriented-programming-in-javascript-8900124e316a/ https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Basics  

17
Dec
2019

Event Listeners andGetters in JavaScript

<!DOCTYPE html> <html> <body> <h2>JavaScript Getters and Setters</h2> <p>Getters and setters allow you to get and set…

17
Dec
2019

JS Arrow Function

//Arrow Function Example hello=val=>”Hello “+val; console.log(hello(“Universe!”));