Top Tweets for #jsTipsByRod
Did you know that you can use .toString() to flat a nested array?
It works the same as Array.prototype.flat and it's ~19% faster
#jsTipsByRod #JavaScript

💛 JavaScript tip
Combine the optional chaining and Nullish coalescing operators to access any nested property in an object without raising errors
Also, set a default value when the property results to be null or undefined
#javascript #JSTipsByRod

💛 JavaScript tip
What's the difference between "for of" and "for in"?
It's really simple 👇
#JS #JSTipsByRod #CodeNewbies
💛 JavaScript tip ✌️
Many languages have a sleep, wait or delay function to pause the code execution during a given time, JS doesn't have it
But, we can make our own version using a promise and setTimeout
#JSTipsByRod #JavaScript #100DaysOfCode

💛 JavaScript tip ✌️
We can use Promise.race and setTimeout to add a timeout to any promise
We simple execute our original promise inside Promise.race and also include another promise which will be rejected when a timeout is reached
#JSTipsByRod #JavaScript #100DaysOfCode

💛 JavaScript Tip
Did you know that you can use String.raw to prevent a string to be escaped?
It's useful when you want to create a regular expression using its constructor
It's the equivalent in #Python to r"my string"
#JSTipsByRod #JavaScript #JS #coding

JS Challenge 6 🥳🏆
⚡️This was a real interview question⚡️
Can you solve it? The explanation here is more important than the correct solution
Can you identify the tricks and possible misleading clues?
#JavaScript #Coding #CodeNewbies #100DaysOfCode #JSTipsByRod

#JavaScript tip 💡
Avoid writting async calls inside .map, .reduce, .filter, .forEach‼️
The order of the calls isn't respected instead use a traditional "for" block with awaits inside of it or "Promise.all"
#JS #CodeNewbies #100DaysOfCode #coding #JSTipsByRod

JS Challenge 5 🥳🎖️🎊
Can you guess what does this code❔
Is it similar to another known operation❔
Check others tips & challenges here 👉 #JSTipsByRod
#JavaScript #Coding #CodeNewbies #100DaysOfCode

#Javascript Tip
Mutated data is related to almost every bug you can discover, so it's important to learn when this happens
Learn what array's methods are mutating data and which others don't, here👇👇
#JSTipsByRod #100DaysOfCode #CodeNewbies #Coding

#JavaScript tip 💡
Did you know that you can use special Symbols to overwrite the behavior of any object in JS ⁉
They are called Well-known Symbols
And you can do a lot of fun stuff with them
#JS #CodeNewbies #100DaysOfCode #coding #JSTipsByRod

JS Challenge 4🎉🥳
Can you solve this problem❔Can you tell me the time complexity of the function using big O notation ❔
Check others tips & challenges
here 👉 #JSTipsByRod
#JavaScript #Coding #CodeNewbies #100DaysOfCode

Can you tell me what is doing this code, step by step❓
Check others tips & challenges
here 👉 #JSTipsByRod
#JavaScript #Coding #CodeNewbies #100DaysOfCode

Did you know what is the difference between WeakMap and Map?
Here a 🧵 👇
#JSTipsByRod #JavaScript #CodeNewbies #100DaysOfCode

Here is the first JS challenge‼️
What will be the values of each variable?
Can you explain why?
#JSTipsByRod #JavaScript #CodeNewbies #100DaysOfCode

#JavaScript tip 💡
Did you know that you can execute functions using template strings⁉️
The function is called with an array of all strings inside the template, following by each expression
f(strings, ...expressions)
#JS #CodeNewbies #100DaysOfCode #coding #JSTipsByRod

JavaScript tip 💡
Did you know that you can get the max and min values from an array using Math?
#JavaScript #100DaysOfCode #CodeNewbies

Last Seen Hashtags on Sotwe
anxiouspanda()******filter:videos
Seen from United Kingdom
bbl
モンテンルパ市
Seen from United States
新人avデビュー本物アイドル決意南乃そら
Seen from United States
ทางบ้านฝากมาก
Seen from Thailand
mersingay
Seen from Turkey
稲垣太地
Seen from United States
esposa
Seen from Mexico
minichat() filter:videos since:2026-05-01
Seen from Korea
chav()**************************************** nolimit()******************************************** filter:native_video
Seen from United Kingdom
Most Popular Users

Elon Musk 
@elonmusk
241.7M followers

Barack Obama 
@barackobama
119M followers

Cristiano Ronaldo 
@cristiano
114.6M followers

Donald J. Trump 
@realdonaldtrump
111.9M followers

Narendra Modi 
@narendramodi
107.2M followers

Rihanna 
@rihanna
98.7M followers

NASA 
@nasa
92.4M followers

Justin Bieber 
@justinbieber
91.8M followers

KATY PERRY 
@katyperry
90.1M followers

Taylor Swift 
@taylorswift13
84M followers

Lady Gaga 
@ladygaga
75.5M followers

Virat Kohli 
@imvkohli
73.5M followers

Kim Kardashian 
@kimkardashian
70.9M followers

YouTube 
@youtube
68.8M followers

Neymar Jr 
@neymarjr
66.5M followers

Bill Gates 
@billgates
65.3M followers

Selena Gomez 
@selenagomez
63.1M followers

The Ellen Show
@theellenshow
62.3M followers

CNN 
@cnn
61.8M followers

X 
@x
60.7M followers
