๐ 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 concat method.
The repeat() method constructs and returns a new string which contains the specified number of copies of the string on which it was called, concatenated together.
๐ข๐ The string.repeat() method
๐ท Syntax :
repeat(count)
๐นcount : An integer between 0 and +Infinity, indicating the number of times to repeat the string.
๐ท Example :
const greeting = ‘Hello World! ‘;
console.log( greeting.repeat(5) );
// expected output: “Hello World! Hello World! Hello World! Hello World! Hello World! “
๐ 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 – How to Get Started
|
JavaScript For Beginner – How to Get Started
If you’re a complete JavaScript beginner, then you’re probably wondering where to begin. There are numerous free and paid courses available, including a smarter way to learn JavaScript and 68 Specific Ways to Harness the Power of JavaScript. However, a more effective way to learn JavaScript is to spend some time working on projects, as these require less theory and more hands-on experience. By working on projects, you’ll quickly build the foundation necessary to tackle the challenges of the language.