Javascript, Programming

JavaScript Promises

A promise is a JavaScript object used to handle asynchronous operations. Before the promise was introduced in JavaScript, events and callback functions were used to handle the asynchronous events.  Promises provide a better way of handling multiple callbacks at the same time, thus avoiding the multiple nested callbacks and errors.

Continue reading

Hits: 6

Standard
Programming

Update the encoding type of file

Stress character or a diacritical mark is a glyph—or symbol—added to a letter. Example : afé, cliché, ôperàtor, Chloë, Brontë, coöperate, naïve. If the file has stress characters contents  and if we are trying to import the contents of the file or display the content then the content might not be imported or displayed as it is supposed to be. In such case,

Continue reading

Hits: 42

Standard