Filter
Exclude
Time range
-
Near
Common String Methods ๐Ÿš€ indexOf(substring): Finds the first occurrence of a substring. console.log(str.indexOf("l")); // Output: 2 slice(start, end): Extracts part of a string. console.log(str.slice(1, 4)); // Output: "ell" #ES6 #JavaScriptFunctions #JavaScriptEvents #AsyncJavaScript #Promises #JavaScriptArrays #DOMManipulation #JavaScriptObjects #JavaScriptProjects
1
3
37
Removing elements:๐Ÿš€ pop(): Removes the last element. shift(): Removes the first element. #ES6 #JavaScriptFunctions #JavaScriptEvents #AsyncJavaScript #Promises #JavaScriptArrays #DOMManipulation #JavaScriptObjects #JavaScriptProjects
1
2
45
For 2025, the most useful programming languages for development depend on your goals and interests. ๐Ÿš€ 1. JavaScript/TypeScript 2. Python 3. Java 4. Go (Golang) 5. Rust 6. Kotlin 7. SQL 8. Swift 9. C# 10. PHP #javascript #Callbacks #frontend #fullstack #webdeveloper #nextjs #React #ES6 #aws #reactdeveloper #JavaScriptFunctions #viral #JavaScriptEvents #web #website #ui #ux #AsyncJavaScript #Promises #hooks #useState #JSCodeChallenge #MiniProjects #state #JavaScriptForWeb #DynamicWebsites
14
5
21
1,501
๐‘๐ž๐š๐œ๐ญ ๐‡๐จ๐จ๐ค๐ฌ (๐ฎ๐ฌ๐ž๐’๐ญ๐š๐ญ๐ž) ๐Ÿš€ In React, useState is a hook that allows you to add and manage state in functional components. It is one of the most commonly used hooks and provides a way to handle dynamic data or UI changes. #javascript #Callbacks #frontend #fullstack #webdeveloper #nextjs #React #ES6 #aws #reactdeveloper #JavaScriptFunctions #viral #JavaScriptEvents #web #website #ui #ux #AsyncJavaScript #Promises #hooks #useState #JSCodeChallenge #MiniProjects #state #JavaScriptForWeb #DynamicWebsites ๐Ÿค Connect with Us ๐Ÿ‘‡ ๐Ÿ”— ๐—ง๐˜„๐—ถ๐˜๐˜๐—ฒ๐—ฟ ๐—Ÿ๐—ถ๐—ป๐—ธ: x.com/pushpendratips ๐Ÿ‘‡ ๐Ÿ”— ๐—Ÿ๐—ถ๐—ป๐—ธ๐—ฒ๐—ฑ๐—ถ๐—ป ๐—Ÿ๐—ถ๐—ป๐—ธ: linkedin.com/in/pushpendratiโ€ฆ ๐Ÿ‘‡ ๐Ÿ”— ๐—œ๐—ป๐˜€๐˜๐—ฎ๐—ด๐—ฟ๐—ฎ๐—บ ๐—Ÿ๐—ถ๐—ป๐—ธ: instagram.com/pushpendratips Web developers ๐Ÿ™‹๐Ÿปโ€โ™‚๏ธ Follow now โœ…
22
22
350
JavaScript Callbacks ๐Ÿš€ A JavaScript callback is a function passed as an argument to another function and is executed after the completion of some task. It's commonly used in asynchronous operations like API calls or event handling to ensure certain code runs after an action is finished. #javascript #Callbacks #frontend #fullstack #webdeveloper #nextjs #React #ES6 #JavaScriptFunctions #JavaScriptEvents #AsyncJavaScript #Promises #JSCodeChallenge #MiniProjects #JavaScriptForWeb #DynamicWebsites ๐Ÿค Connect with Us ๐Ÿ‘‡ ๐Ÿ”— ๐—ง๐˜„๐—ถ๐˜๐˜๐—ฒ๐—ฟ ๐—Ÿ๐—ถ๐—ป๐—ธ: twitter.com/pushpendratips ๐Ÿ‘‡ ๐Ÿ”— ๐—Ÿ๐—ถ๐—ป๐—ธ๐—ฒ๐—ฑ๐—ถ๐—ป ๐—Ÿ๐—ถ๐—ป๐—ธ: linkedin.com/in/pushpendratiโ€ฆ ๐Ÿ‘‡ ๐Ÿ”— ๐—œ๐—ป๐˜€๐˜๐—ฎ๐—ด๐—ฟ๐—ฎ๐—บ ๐—Ÿ๐—ถ๐—ป๐—ธ: instagram.com/pushpendratips Web developers ๐Ÿ™‹๐Ÿปโ€โ™‚๏ธ Follow now โœ…
17
1
16
432
๐Ÿš€Unleash the power of JavaScript functions! ๐Ÿ’กโœจ Learn to create, invoke, and organize code with functions. ๐Ÿ”ง๐Ÿ’ป Elevate your coding game! ๐ŸŒ๐Ÿ”— #Finstein #programming #CyberSecurity #JS #learning #Action #JavaScriptFunctions #CodeMastery #WebDev #Console
3
101
11 Nov 2023
๐ŸŒŸ Evening Insight: Today, letโ€™s unravel the magic of Functions in #JavaScript. Functions are the building blocks of readable, maintainable, and reusable code. ๐Ÿš€๐Ÿ“š A JavaScript function is a block of code designed to perform a particular task. Hereโ€™s why theyโ€™re essential: 1. Modularity: Functions allow you to break down complex problems into smaller, manageable pieces. 2. Reusability: Write a function once, and use it multiple times. This saves time and reduces errors. 3. Function Declarations vs. Expressions: โ€ข Declarations: Define a function with the function keyword. They are hoisted, meaning they can be called before theyโ€™re defined in the code. function greet() { console.log('Hello, world!'); } โ€ข Expressions: Create a function and assign it to a variable. These are not hoisted. const greet = function() { console.log('Hello, world!'); }; 4. Arrow Functions: Introduced in ES6, arrow functions offer a shorter syntax. Theyโ€™re great for inline functions and callbacks. const add = (a, b) => a b; 5. Parameters vs. Arguments: โ€ข Parameters: The names listed in the functionโ€™s definition. โ€ข Arguments: The real values passed to (and received by) the function. ๐Ÿ” Tomorrow, weโ€™ll dive deeper into how functions can be used to create powerful and dynamic web applications. Stay tuned for more exciting #JavaScriptJourney and #WebDevTips! #Coding #WebDevelopment #JavaScriptFunctions
7
230
17 Jul 2023
functions are not just a feature of JavaScript, but a core concept that empowers you to organize, reuse, and abstract your code. Embrace the versatility of functions and let them be your secret weapon in JavaScript development! ๐Ÿ’ชโœจ #JavaScriptFunctions
1
2
28
17 Jul 2023
JavaScript also supports anonymous functions, which are functions without a specific name. They're often used as callbacks or immediately invoked function expressions (IIFE). Here's an example of an IIFE: (function() { console.log("This is an IIFE!"); })(); #JavaScriptFunctions
1
2
17
17 Jul 2023
Functions can be assigned to variables, passed as arguments to other functions, or even returned from other functions. This concept, known as "first-class functions," gives JavaScript its flexibility and power. #FirstClassFunctions #JavaScriptFunctions
1
2
19
17 Jul 2023
Arrow functions are a concise way of defining functions, especially for shorter and anonymous functions. Here's an example of an arrow function that doubles a number: const double = (num) => num * 2; console.log(double(6)); // Outputs 12 #JavaScriptFunctions
1
2
22
17 Jul 2023
Functions can take parameters, which act as placeholders for values you can pass in when calling the function. For example: function greet(name) { console.log("Hello, " name "!"); } greet("Ashish"); greet("Amit"); #JavaScriptFunctions
1
2
28
17 Jul 2023
Let's start with the traditional way of defining functions. Using the 'function' keyword, you can create a named function like this: function greet() { console.log("Hello, world!"); } greet(); #JavaScriptFunctions
1
2
31
17 Jul 2023
Functions are like superheroes, ready to save the day! ๐Ÿฆธโ€โ™€๏ธ They encapsulate a set of instructions, allowing you to perform specific tasks. You can define functions using the 'function' keyword or by using arrow functions (introduced in ES6). #JavaScriptFunctions
1
2
29
JavaScript functions are essential part of development and its very important to learn, Here are few of them, Follow me @schfordevs for more post like this. #javascript #functions #schfordevs #webdevelopment #javascriptfunctions #coding
1
1
5
129
Do you know what is #javascript functions? How to use it? Please check this if you are struggling with it. #javascriptfunctions #programming #webdevelopment #codingtips #webdesign #stepbystepJS #100DaysOfCode
1
1
3
89
That moment you need to commit changes to Github but you pushed before you pulled #html5 #javascript #webdevelopment #javascriptfunctions #javascriptfunction #github #webdevmeme #techmemes #techtwitter

ALT Bored Season 5 GIF by The Office

1
4