Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
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 'const' and 'let' instead of 'var' to improve code readability and prevent scope issues
2
29
"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
22
✋✋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
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 You can create emoji characters in JavaScript using String.fromCodePoint()
2
2
101
💡 #javascriptTip Use the spread operator (...) to easily combine or copy arrays and objects in JavaScript.
2
1
2
73
💡 #javascriptTip Avoid using eval() in JavaScript, as it can be a security risk. Instead, use alternative methods like JSON.parse() or Function().
3
1
1
2
98
💡 #javascriptTip Did you know about the exponentiation (**) operator? It raises the left operand to the power of the right operand! 💪 [🧵 A Thread]
3
1
4
156
💡 #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
1
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
🚀 #JavaScriptTip: Use 'const' for values that won't change, 'let' for reassignable variables, and 'var' if you need to support older browsers. #webdevelopment #Coding sources: w3schools.com/js/js_variable…. medium.com/@codingsam/awesom…
2
48
JavaScript Snippet: Need to format a date? Use the toLocaleDateString() method to get a localized string representation of the date. Here's an example: [Attach JavaScript snippet]. #100DaysOfCode #JavaScriptTip
2
28
JavaScript Snippet: Want to check if an array includes a specific value? Use the includes() method. Here's an example. #JavaScriptTip #100DaysOfCode
5
239