fromCharCode and fromCodePoint methods | String Object In JavaScript

๐ŸŽ Join my channel to get access to perks:
https://www.youtube.com/channel/UC8n8ftV94ZU_DJLOLtrpORA/join

๐Ÿงก Hello All JavaScript Lovers Outhere!

Today you’re going to learn about the String Object In JavaScript.

This tutorial is a series of videos, in each video we will discuss a method (or more) of the String Object in JavaScript.

In today’s video, you’re going to learn about the charCodeAt, and codePointAt methods.

The static String.fromCharCode() method returns a string created from the specified sequence of UTF-16 code units.

The static String.fromCodePoint() method returns a string created by using the specified sequence of code points.

๐ŸŸข๐ŸŸ  The string.fromCharCode().
๐Ÿ”ท Syntax :
String.fromCharCode(num1)
String.fromCharCode(num1, num2)
String.fromCharCode(num1, num2, /* โ€ฆ, */ numN)
๐Ÿ”นnum1, …, numN : A sequence of numbers that are UTF-16 code units. The range is between 0 and 65535 (0xFFFF). Numbers greater than 0xFFFF are truncated. No validity checks are performed.

๐ŸŸข๐ŸŸ  The string.fromCodePoint().
๐Ÿ”ท Syntax :
String.fromCodePoint(num1)
String.fromCodePoint(num1, num2)
String.fromCodePoint(num1, num2, /* โ€ฆ, */ numN)
๐Ÿ”นnum1, …, numN : A sequence of code points.

๐ŸŒ Social Media Links.
โ—พ Facebook : https://www.facebook.com/Code.Explained.Official
โ—พ Twitter : https://twitter.com/code_explained
โ—พ Instagram : https://www.instagram.com/Code.Explained.Official/
โ—พ GitHub : https://github.com/CodeExplainedRepo

๐Ÿ’ฒ Suppport the Channel
Paypal : https://paypal.me/CodeExplained
Buy Me a Coffee: https://www.buymeacoffee.com/CodeExplained

JavaScript For Beginner

JavaScript for beginner|JavaScript for beginner

JavaScript For Beginner

If you’re new to JavaScript and are wondering how to learn the basics, read on. This article will guide you through the process. It will also teach you more about advanced concepts such as prototypical inheritance, functional programming, function constructors, and new ES6 features. By the time you’ve finished this course, you’ll have the knowledge to apply JavaScript to other technologies, as well. This article will provide you with the basics of JavaScript and help you create a website that is able to serve as a base for your development.

You May Also Like