Learn free javascript-convert tutorials


javascript example - How to convert/parse String object to JSON object | JQuery

March 13, 2020 ·  2 min read

Convert/parse String to JSON object in JavaScript  In JavaScript, when the user submitted the form, form data is collected in String format, We need to convert this to JSON object in the HTTP request to make REST API. In this blog, we are going to discuss how to convert String objects to JSON objects. Generally, String in JavaScript is a group of characters enclosed in single or double-quotes....


Typescript/JavaScript example - Convert BigInt to Number type

March 9, 2020 ·  2 min read

In this blog post, I will give several examples of Converting BigInt type to numeric types - Float, Integer, Hexa, Octal, Binary. Es10 introduced bigint new data type that stores arbitrary of precision numbers. It can store values greater than 2 power 53 -1 Numbers are numeric data of Number datatype, store the data up to 2 power 53-1. How to Convert BigInt to Number in Javascript There are following different ways we can convert bigint to numeric values....