Some JavaScript You Should Know (Part-1)

Master raj
2 min readJun 23, 2023

--

1. Remove Duplicate elements from an array.

2. Write a Function to generate a Fibonacci series of a given length

3. Reverse String using inbuilt methods and without methods

3.1 Reversing String Without methods

function reverseString(str) {
let reversedString = "";
for (let i = str.length - 1; i >= 0; i--) {
reversedString += str[i];
}
return reversedString;
}

const str = "Hello, world!";
const reversedStr = reverseString(str);
console.log(reversedStr); // "!dlrow ,olleH"

4. Check If the Value is Palindrome or Not.

let word = "racecar";

console.log(word===word.split('').reverse().join(''))
//If the value is equal from both side it will give TRUE:

And There are Many FAQ : Putting Down For You Put Down The Answers In Comment IF you Know ok Lets see.

Q1. What are the different data types present in javascript?

Q2. Explain hosting in javascript?

Q3. Difference between “ ==” and “===” operators?

Q4. Explain implicit type coercion in javascript?

Q5. Is JavaScript a statically typed or dynamically typed language?

Q6. What is NaN property in JavaScript?

Q7. Explain past by value and past by reference?

Q8. What is immediately invoked function in JavaScript?

Q9. Explain higher order function in JavaScript?

Q10. Explain “this” keyword?

— — — — — — — — — — -The End — — — — — — — — — — — -

If you enjoyed reading this blog, please share it with your friends and make sure to subscribe to our YouTube channel for more exciting content. Help us spread the word about our expertise in MERN stack development, cloud computing, React Native, and Next.js, and stay tuned for more informative articles to come. Together, we can take the tech world by storm!

In the Mern Stack Projects section you can find tutorials, tips, cheat sheets, and other projects. Our talks also focus on React Frameworks like NextJs,AWS Cloud So join us today to keep up with the latest technology🩷

📠 🏅:- Mern Stack Projects

🎦 🥇:- Jara diary — YouTube 🚦

🎦 🥈 :- Errormania — YouTube 🚦

On GITHUB :- raj-28 (Raj) (github.com)

💌 Do Subscribe To Our Mailing List To stay Updated With All New Blogs 👍

…………🚦…🛣… ……………🚧🛑………………..▶……………….️

Use Emojis From Here In Case You Need Any….🚦🛣️🥇🥈🥉🏅🎖️🎦👍

--

--

Master raj

Certified MERN Stack Developer from Infosys, now sharing expertise on #InCloudByRK. Proficient in MERN Stack, AWS, GCP, Azure DevOps. Let's level up!