Ayush Thakur
Ayush Thakur

@JSAyushThakur

12 Tweets 3 reads Feb 18, 2022
Top 10 useful JavaScript Code Snippets
πŸ§΅πŸ‘‡
1️⃣ Reverse a String
2️⃣ Factorial of a Number
3️⃣ Convert a Number to an Array of Digits
4️⃣ Check if a string is palindrome or not
5️⃣ Capitalize first letter
6️⃣ Return Maximum Elements From an Array
7️⃣ Sorting array in ascending and descending order
8️⃣ Check if a number is prime or not
9️⃣ Check if a Number Is a Power of Two
πŸ”Ÿ Get today's date
Thank you for reading the thread ☺️
If you like it, then do give the first tweet a RETWEET πŸ™Œ

Loading suggestions...