Skip to main content

66 docs tagged with "Function"

View All Tags

--strictFunctionTypes

--strictFunctionTypes is defined as: to flag TSC to enforce stronger checks for function Types. Topics on: . Read more: JS, TS, TS Def, TSC, TSC Strictness Conf

.bind()

.bind() is defined as: Function Instance Method to fix this keyword for Method (with optional Argument), for new standalone fn. Topics on: . Read more: JS, JS L

.call()

.call() is defined as: Function Instance Method to invoke function with explicit this keyword [and optional Argument]. Topics on: .call syntax, !snippet Method

.toString()

.toString() is defined as: to return string of Source Code of calling function. Topics on: Override (Polymorphism) Object.prototype.toString method. Read more:

Anon Function

Anon Function is defined as: function w/o Identifier. Topics on: . Read more: JS, JS Language, Object, Function, Anon Function, Identifier |FullStack Wiki by RJ

Args Object

Args Object is defined as: Object to contain all Argument pass into function (for current EC). Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, E

Argument

Argument is defined as: Value import as Parameter input to function. Topics on: Variable. Read more: JS, JS Language, Primitive, Undefined, Argument, Value, Par

Arrow Function

Arrow Function is defined as: compact Anon Function w/o bind to this keyword or Args Object. Topics on: !can't use as Constructor Function. Read more: JS, JS La

async

async is defined as: JS Keyword to prepend function to allow Asynchronous Code. Topics on: . Read more: JS, JS Concepts, Multi Paradigm, Concurrency Model, Asyn

Binding

Binding is defined as: (formal ECMAScript term for Variable) Identifier to catch & hold Value 🐭. Topics on: . Read more: JS, JS Language, Object, Function, Fun

Callback Function

Callback Function is defined as: function to call later (ie pass into Higher-Order Function). Topics on: . Read more: JS, JS Concepts, Multi Paradigm, First Cla

Chain

Chain is defined as: (JS Syntax) to group functions into single line via Dot Notation. Topics on: Dot Notation, Square Bracket Notation, Optional Chaining. Read

Cleanup Function

Cleanup Function is defined as: function call on Unmount, via return function from useEffect(). Topics on: Cleanup Function used to prevent Memory Leak, AbortCo

Closure

Closure is defined as: [[ ]] of function to preserve access to VE of EC at its creation. Topics on: Closure are an intangible property, the scope chain is prese

Constructor Function

Constructor Function is defined as: function to programmatically create Object (& link via __proto__ after Instantiation with new). Topics on: !cannot use arrow

createContext()

createContext() is defined as: Context API function to create Context Object. Topics on: . Read more: React, React API, Context API, Function, Context, Object

createPortal()

createPortal() is defined as: ReactDOM API Escape Hatch function to render child HTMLElement to any container HTMLElement other than parent. Topics on: Portal,

createStore()

createStore() is defined as: OLD Redux API function to create new Redux Store Instance. Topics on: . Read more: React, React Stack, Redux, OLD Redux API, Functi

Currier Function

Currier Function is defined as: function to pass/return another Callback Function. Topics on: . Read more: JS, JS Language, Object, Function, Currier Function,

Dispatch

Dispatch is defined as: redux function to send Action object to Reducer. Topics on: . Read more: React, React Stack, Redux, Redux Concepts, Dispatch, Function,

Dispatch Function

Dispatch Function is defined as: function to Dispatch Action to Reducer. Topics on: . Read more: React, React Stack, Redux, Redux Pattern, Dispatch Function, Fu

Effect

Effect is defined as: Callback Function to run inside function, under certain conditions. Topics on: . Read more: React, React API, Hooks API, Effect Hook, Effe

Entity

Entity is defined as: JS feature live in Memory. Topics on: includes ordinary function, arrow function, methods, classes. Read more: JS, JS Language, Declaratio

Event Listener

Event Listener is defined as: function to await Event & on Signal Trigger, call Event Handler. Topics on: . Read more: JS, JS Concepts, Java Script Runtime, Pla

express()

express() is defined as: Express function to init new Express Instance. Topics on: Express App Instance Method, app.get(), app.post(), app.listen(), app.delete(

Factory Function

Factory Function is defined as: function to return Object (w/o this keyword & new). Topics on: . Read more: JS, JS Language, Object, Function, This Keyword, New

FC

FC is defined as: function to return UI via JSX. Pass propsfor dynamic input. add state via Hook. Topics on: since React 16.8 FC with Hooks are more powerful th

First-Class Functions

First-Class Functions is defined as: of function equiv to regular Variables. Topics on: First-Class Citizen, First-Class Functions can be passed into & returned

function

function is defined as: callable Block of code to perform action or return Value. Topics on: Currier Function, function purpose, Anon Function, function definit

function

function is defined as: JS Keyword to Declaration function (with optional Argument Parameters). Topics on: Parameter handling, Specialized Function, Entity, JS

Function

Function is defined as: Constructor Function for new function Object. Topics on: function, (function(){}).constructor === Function, Function Instance Methods, I

function definition

function definition is defined as: Binding for a function to define signature. Topics on: Binding, functions consist of function (keyword), parameters & functio

Function Instance Methods

Function Instance Methods. Topics on: .apply(), .bind(), .call(), .toString(). Read more: JS, JS Language, Object, Function, Function Instance Methods| Dev Wiki

function output

function output. Topics on: functions may optionally produce a value, functions may optionally result in a side effect, functions with no return statement or re

function purpose

function purpose. Topics on: use function to wrap a piece of program in a value, use function to structure larger programs, use function to reduce repetition, u

Function Signature

Function Signature is defined as: Type Annotation to define function I/O. Topics on: Types, return value, method modifiers, Parameter. Read more: JS, TS, TS Syn

function*

function*. Topics on: generator function, GeneratorFunction constructor, Generator. Read more: JS, JS Language, Declaration, Function|FullStack Wiki by Roger J

Generator

Generator. Topics on: object. Read more: JS, JS Language, Declaration, Function|FullStack Wiki by Roger J

Getter

Getter is defined as: function to get a value, called as property literal; prepend Method with get JS Keyword. Topics on: get, !snippet getter called as a prope

Global Function

Global Function is defined as: function declare in Global Scope. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Scope Chain, Scope, Global

Higher-Order Function

Higher-Order Function is defined as: function to receive Callback Function Argument, to return function, or both. Topics on: Callback Function. Read more: JS, J

IIFE

IIFE is defined as: Design Pattern to run self-executing Anon Function once & disappear. Topics on: IIFE is used to Encapsulation Variable to inner Block Scope,

IIFE syntax

IIFE syntax. Topics on: IIFE (anonymous) function expression, IIFE Arrow Function, IIFE with async arrow. Read more: JS, JS Language, Object, Function, IIFE

Initialization Function

Initialization Function is defined as: function pass as Initialization Argument to useReducer() to generate Initial State for Reducer. Topics on: . Read more: R

JS Operator

JS Operator is defined as: reserved JS Syntax to perform built-in function on Operand. Topics on: !, &&, =, ??, Basic Operators, Coercion, Comparison Operator,

Lazy Initial value

Lazy Initial value is defined as: function pass as Parameter into useState(), to assign return value as Initial State value, on first-call only. Topics on: Lazy

Lazy()

Lazy() is defined as: React API function to Lazy Loading FC for Suspense Boundary. Topics on: . Read more: React, React API, Suspense API, Lazy, Function, Lazy

Memo()

Memo() is defined as: React function from useMemo() API for Memoization of any function !snippet for addition. Topics on: . Read more: React, React API, Hooks

Method

Method is defined as: function attach as Object property to define behaviour. Topics on: Abstract Method. Read more: JS, JS Language, Declaration, Literal, Obje

Parameter

Parameter is defined as: Variable pass into function to define Function Signature, imports Arguments & act as local variable. Topics on: !differs vs Argument wh

Parameter handling

Parameter handling. Topics on: Parameter vs argument, Callback, Default Value, Rest Parameter, Named Parameters, Spread Operator. Read more: JS, JS Language, De

Recursion

Recursion is defined as: function to call itself from its implementation body. Topics on: RangeError, Mutual Recursion. Read more: JS, JS Language, Statement, C

Reducer

Reducer is defined as: function to Reduce to new state value from Action input. Topics on: Reduce. Read more: React, React Stack, Redux, Redux Pattern, Reducer,

render()

render() is defined as: replace by createRoot(). ReactDOM API function to render element to DOM API inside container - for Client Component only. Topics on: r

return

return is defined as: JS Keyword to specify a single Variable/Expression output from function. Topics on: . Read more: JS, JS Language, Declaration, Return, JS

Role

Role is defined as: purpose of Entity; how it is used. Topics on: Role of Arrow Function is to be a Real Function?, Role of Method is to be a Method, Role of cl

setInterval()

setInterval() is defined as: to call function or evaluate Expression, repeatedly at specific intervals. Topics on: . Read more: JS, JS Concepts, Java Script Run

Setter

Setter is defined as: function to set a value, prepend class Method with set JS Keyword. Called as property literal reassignment. Topics on: set, !snippet sette

setTimeout()

setTimeout() is defined as: to execute function (or Expression), once after timer expires. Topics on: . Read more: JS, JS Concepts, Java Script Runtime, Platfor

Specialized Function

Specialized Function is defined as: single-purpose version of Ordinary Function with special Role, supports more features & nicer JS Syntax. Topics on: `, Arrow

Stub

Stub is defined as: line of code (for function), indexed by line number & Variable Type. Topics on: . Read more: JS, JS Concepts, JS Engine, JS Compiler, Baseli

Tag Template Function

Tag Template Function is defined as: JS Syntax for function to parse Template Literal. Topics on: . Read more: JS, JS Language, Primitive, Autoboxing, Wrapper,

this keyword

this keyword is defined as: Special variable which 👉to 'owner' of calling function. Topics on: implicit parameter of functions, this is dynamic and depends on

throw

throw is defined as: JS Keyword Statement to stop executing current function with user-defined Exception. Topics on: . Read more: JS, JS Language, Exception, Ex

Typed Callback Function

Typed Callback Function is defined as: Type Annotation for Anon Function pass as Argument to function. Topics on: . Read more: JS, TS, TS Syntax, Type, Base Typ

void

void is defined as: Type to rep no return value from function. Topics on: !technically default JS implicitly returns undefined, !techincally not allowed to anno