What is ES6?. It is short form of ECMA (European Computers Manufacturers Association) Script 6. ES6 is the 6th edition which was released in 2015. Please check the browser compatibility before using any of ES6 features. Let us concentrate on the aim of this post, which is to see what’s new in javascript and how … Continue reading “ES6 New feature to begin with-Javascript”
Tag: JavaScript
Convert base64 string to a file in javascript
I lately realized that people who are using my technique to convert a file to a base64 string in javascript are searching out for a solution to convert base64 to a file. This article mainly concentrates on converting the base64 back to the respective file with their respective formats. There are many ways to achieve … Continue reading “Convert base64 string to a file in javascript”
Convert a File to base64 String in JavaScript
The idea behind my concept is simple. Firstly pick the file which you want to convert from the system’s HDD using HTML5 file browser. Once the file is selected, read the file as binary string using the FileReader API. At last convert the binary string to base64 using JavaScript. Let’s See in detail:- Attach a … Continue reading “Convert a File to base64 String in JavaScript”