Bhavesh Jadhavbhaveshjadhav.hashnode.devยทMay 31, 2024Important Terminologies in JavaScript1. Function Statement A function statement is a simple way of creating a function: function a() { console.log("a called"); } This simple way of creating a function is known as a function statement. 2. Function Expression A function expression is w...10 likesยท41 readsJavascript Basicsnamed function expression
Abhishek Dandriyalabhishek-dandriyal.hashnode.devยทApr 10, 2024Functions in JavascriptFunction Expression: A function expression in JavaScript is when you assign a function to a variable. It's an alternative way to define a function compared to the traditional function declaration. In your example: const square = function(num) { r...iife in javascipt
Maxat Akbanovmaxat-akbanov.comยทMar 19, 2024First-Class Objects in PythonIn Python, first-class objects (also known as first-class citizens) refer to entities that can be dynamically created, destroyed, passed to a function, returned as a value from a function, and assigned to a variable. This concept is crucial in unders...26 readspythonPython
Akash Thoriyaakashthoriya.hashnode.devยทFeb 1, 2024First-class FunctionsExpert-Level Explanation In JavaScript, first-class functions mean that functions are treated as values. This means that functions can be assigned to variables, passed as arguments to other functions, and returned from other functions, just like any ...JavaScript Fundamentals for InterviewsJavaScript
Ravinder Pandeyravinpandey.hashnode.devยทSep 14, 2023Unraveling the Power of First-Class Functions in JavaScriptHey there, fellow JavaScript enthusiasts! Today, we're diving into the fascinating world of first-class functions. These are the secret ingredients ๐ of JavaScript that make your code as flexible as a Swiss army knife! ๐ชโจ First-Class Functions: Unv...first-class functions
Dushmantadushmanta.hashnode.devยทAug 21, 2023Exploring the Concepts of First-Class and Higher-Order FunctionsWhile learning JavaScript functions, you may have encountered the terms "first-class function" and "higher-order function." Let's understand these with examples. The only prerequisite is a basic understanding of functions. First-Class Function In a p...45 readsJavaScript
Diwakardiwakarkashyap.hashnode.devยทJul 26, 2023What is First class function in JavaScript ?In JavaScript, functions are first-class citizens. This means that functions in JavaScript are treated like any other variable. A first-class function can: Be stored in a variable: let myFunction = function() { console.log('Hello World'); }...39 readsfirst-class functions
Debidatta Suryaprakasheliteslayer.hashnode.devยทFeb 26, 2023Exploring the Unique Features of JavaScript: From Promises to Higher-Order FunctionsJavaScript is a widely-used programming language that has grown in popularity recently. From web development to mobile app development, JavaScript is a versatile language that can be used in many applications. However, there are some unique features ...58 readsJavaScript