Filter
Exclude
Time range
-
Near
I mean, you can use a for loop, concat(), or push(), but the spread operator (...) is my go-to for merging arrays. PRO TIP: Combine ... with Set to merge & remove duplicates: #javascript #javascripttip #coding
2
8
115
JavaScriptTip: Use Object.keys() to retrieve an array of an object's keys, making it easier to iterate over properties and access values dynamically. Example:
1
1
2
73
18 Aug 2024
#JavaScriptTip: Use 'const' and 'let' instead of 'var' to improve code readability and prevent scope issues
2
29
25 May 2024
"Want to debug like a pro? Use console.table() to display your arrays/objects in a readable table format. #JavaScriptTip #javascript
2
59
✨ Use named parameters with destructuring to improve function readability in JavaScript (TypeScript!) It makes calling functions with many options clearer. #javascript #javascripttip #developer #typescript
1
2
348
🔥 #JavaScriptTip: Dive into `Object.freeze(obj)` for immutability in JS. Not just for constancy, but it curbs accidental changes, enhancing predictability & bug prevention in complex apps. A hidden gem for robust code! 💻✨ Explore this to fortify
1
21
✋✋Hold up, JavaScript devs! Did you know setTimeout⏳ isn't actually a core JavaScript function? It's a gift 🎁 from your friendly neighborhood web browser! 🌐 setTimeout is indeed a Web API. #javascript #javascriptTip #CodingJourney #LearnInPublic #developer #CONNECT
1
3
202
JavaScriptTip: Speed up your arrays with Array.map() and Array.filter() instead of loops. These methods are not only concise but also encourage immutability and functional programming patterns!

1
1
161
Typescript vs Javascript: It's like having a strict 😠 vs chill 😎 roommate. One wants everything clean, the other just wants pizza 🍕. #javascript #webdev #javascriptTip #programming #dev #CONNECT
1
2
233
JavaScriptTip 💡 When handling API responses, Array.map() is a game-changer for clean & efficient data processing! It elegantly transforms array elements without mutating the original array. Ideal for managing JSON data!
2
1
7
281
27 Dec 2023
💡 #javascriptTip You can create emoji characters in JavaScript using String.fromCodePoint()
2
2
101
25 Dec 2023
💡 #javascriptTip Use the spread operator (...) to easily combine or copy arrays and objects in JavaScript.
2
2
73
24 Dec 2023
💡 #javascriptTip Avoid using eval() in JavaScript, as it can be a security risk. Instead, use alternative methods like JSON.parse() or Function().
3
1
2
98
24 Dec 2023
💡 #javascriptTip Did you know about the exponentiation (**) operator? It raises the left operand to the power of the right operand! 💪 [🧵 A Thread]
3
4
156
20 Dec 2023
💡 #javascriptTip Javascript heap out of memory error Learn to fix the "Javascript heap out of memory error" with this step-by-step guide. [🧵A Thread]
3
3
129
🔥 #JavaScriptTip: Use the Array.includes() method to quickly check if an array contains a specific value. No more lengthy indexOf checks!
1
4
148
#JavaScriptTip: Upgrade your string handling with template literals No more messy concatenation, use backticks for cleaner, dynamic strings like this:
2
56
📢 #JavaScriptTip: Prepara tus funciones para lo inesperado con los parámetros predeterminados de ES6. Transforma el código propenso a errores: function saludar(nombre, saludo) { nombre = nombre || 'Amigo'; saludo = saludo || 'Hola'; //... } 🧵
1
3
154
🚀 #JavaScriptTip: Dive into the world of Callback Functions! 🔄 These powerful tools allow you to execute code asynchronously. Master callbacks to handle asynchronous tasks like a pro! 💪 Here's a quick example: #CodingSkills #JavaScript101
2
38
#JavaScriptTip: Learn to leverage 'map,' 'filter,' and 'reduce' functions to manipulate arrays efficiently. They can significantly simplify your code! #codingtips #webdevelopment medium.com/@bhagyabhagya/an-…
2
67