- Javascript Timing
Timing JavaScript code can be executed in time-intervals either by set a timeout and then execute a funciton or set an interval and then execute a function repeatedly. setTimeout(function, milliseconds) // wait 3 seconds and then execute function let timeout = setTimeout(function(){…
- Javascript this keyword
The this keyword references the object of which the function is a property. In other words, the this references the object that is currently calling the function. When this is used alone, the owner is the Global object, so this refers to the Global object. In a browser window the Global object is…
- Javascript Promise
The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value. A Promise is a proxy for a value not necessarily known when the promise is created. It allows you to associate handlers with an asynchronous action’s eventual success value or…
- Git Pull Request
A pull request is a request asking your upstream project to pull changes into their tree. The request, printed to the standard output, begins with the branch description, summarizes the changes and indicates from where they can be pulled. The upstream project is expected to have the commit named by…
- Java interview – Serialization
1. What is Serialization? Serialization is the process of converting an object and its states to a binary stream that can then be saved into a database, cached or sent over the network to another JVM. 2. What is Deserialization? Deserialization is the process of converting back a serialized object.…