Wouldn’t it be interesting, if a single tweet of yours can switch on/off a light? In this article, I will share with you the very basic of an IoT Twitter application where a single tweet Read more…
We want animate.css to come into effect only when the content appears in the viewport. Otherwise, it is kinda useless.
We need to prove that in an array representation of heap, the leaves starts at index ⌊n/2⌋+1, ⌊n/2⌋+2 . . .and goes till n, n being the last leaf of the heap.
Consider the Person() constructor used to create the tom object. We copy the tom object to a new variable called newTom. Consequently, newTom is also a object, same as tom.
The instanceof operator can be used to check weather a object belongs to a particular constructor function or not. We have already discussed creation of objects from constructor functions.