Tag: js

Function in JS / ES6

Default Function                        ...
READ MORE   >>

Object Inside Object in JS

<script> let user = {         name: "Shairy",         sizes: {           height:...
READ MORE   >>

Object in JS

Object is the most important data-type for modern JavaScript that contain any combination of data-types in the form of “key: value” pairs. These keys can be variables or functions in the term of an object that can be created with curly brackets...
READ MORE   >>

Inheritance Task in JS

Create an Animal class with by default 0 speed and use two methods for run and stop then create another class Rabbit that inherit the animal with function name hide. class Animal { constructor(name) { this.speed = 0; this.name =...
READ MORE   >>

Recent Comments

    • Copyright © 2020 (Er. Shairy Kalra). All Rights Reserved