Skip to main content

41 docs tagged with "Declaration"

View All Tags

!snippet async fnshows what?

!snippet async fnshows what? is defined as: 1. Topics on: equivalent to return Promise.resolve(1). Read more: JS, JS Language, Declaration, Async Function| Wiki

[[Value]]

[[Value]] is defined as: [[Value]]: any = undefined to be retrieved by getter. Topics on: . Read more: JS, JS Language, Declaration, Literal, Object Literal, Sl

Abstract Method

Abstract Method is defined as: Method only declared w/o implementation. Topics on: . Read more: JS, JS Language, Declaration, Literal, Object Literal, Slot, Met

Accessor

Accessor is defined as: Setter/ Getter Method to write/read Accessor Property in Object. Topics on: . Read more: JS, JS Language, Declaration, Literal, Object L

Accessor Property

Accessor Property is defined as: Value Property Modifier to set access via Getter & Setter Method. Topics on: Setter, Getter. Read more: JS, JS Language, Declar

Array Literal

Array Literal. Topics on: . Read more: JS, JS Language, Declaration, Literal|FullStack Wiki by Roger J

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 function

async function is defined as: JS Keyword to Declaration function with Asynchronous Code to return Promise & allow await inside. Topics on: !snippet async fnshow

const

const is defined as: JS Keyword to Declaration read-only named constant Variable with Block Scope. Topics on: . Read more: JS, JS Language, Declaration, JS Keyw

Data Property

Data Property. Topics on: . Read more: JS, JS Language, Declaration, Literal, Object Literal, Property Attribute, Data Property|FullStack Wiki by Roger J

Declaration

Declaration is defined as: (process) to create a Variable, usually via Literal. Topics on: Literal, function, var, let, const, function*, async function, return

Dynamically-Typed

Dynamically-Typed is defined as: of Variable not fixed to one Type at Declaration, can be reassigned, only become known at Runtime. Topics on: Strongly-Typed, T

Enhanced Object Literals

Enhanced Object Literals is defined as: ES2015 extends base Object Literal JS Syntax. Topics on: shorthand assignment, Spread Property, super calls. Read more:

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

function

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

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 Variable

Global Variable is defined as: Variable Declaration in Global Scope or Top-Level Code. Topics on: . Read more: JS, JS Concepts, JS Engine, Call Stack, EC, Scope

Hoisting

Hoisting is defined as: (mechanism) to access Variable before Declaration. Topics on: before execution, code is scanned for variable declarations, each Variable

import

import is defined as: JS Keyword Declaration to import live read-only views on exports. Topics on: live bindings, binding, import.meta. Read more: JS, Lib, Modu

let

let is defined as: JS Keyword to Declaration mutable Variable with Block Scope. Topics on: . Read more: JS, JS Language, Declaration, JS Keyword, Mutable, Varia

Literal

Literal is defined as: JS Syntax to rep Source Code as literally written. Topics on: Object Literal, Template Literal, String literal, Array Literal, Boolean Li

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

Object Literal

Object Literal is defined as: JS Syntax to Declaration & initiate new Object. Topics on: !snippet new shallow copy using Object Literal & Spread Operator, Enhan

Parameter handling

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

Property Attribute

Property Attribute is defined as: object's Data Property or Accessor Property. Topics on: enumerable, Data Property, Accessor, Accessor Property. Read more: JS,

Property Key

Property Key is defined as: Label for property as string || symbol. Topics on: . Read more: JS, JS Language, Declaration, Literal, Object Literal, Property Key,

Public Slot

Public Slot. Topics on: [[Value]], [[Writable]], [[Enumerable]], [[Configurable]]. Read more: JS, JS Language, Declaration, Literal, Object Literal, Slot, Publi

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

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

Slot

Slot is defined as: Object Property as Property Key:Property Attribute pair. Topics on: [[ ]], Method, Public Slot. Read more: JS, JS Language, Declaration, Lit

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

Spread Property

Spread Property is defined as: Enhanced Object Literals to add object property via Spread Operator. Topics on: overlap Property Key with Spread Property will ov

String Interpolation

String Interpolation is defined as: JS Syntax to insert value Expression into string/Array. Topics on: . Read more: JS, JS Language, Declaration, Literal, Templ

TDZ

TDZ is defined as: Region of Source Code outside Scope of a variable, variable uninitialized from Scope start to Declaration. Topics on: . Read more: JS, JS Con

Template Literal

Template Literal is defined as: JS Syntax to Declaration string via ` to allow String Interpolation for any Expression via ${}. Topics on: String Interpolati

var

var is defined as: JS Keyword to Declaration mutable Variable with Function Scope. Topics on: . Read more: JS, JS Language, Declaration, JS Keyword, Mutable, Va

Variable Declaration

Variable Declaration is defined as: initial step of creating new Variable by creating a new Identifier. Topics on: . Read more: JS, JS Language, Declaration, Va

Variable Initialization

Variable Initialization is defined as: next step of assigning value to variable. Topics on: . Read more: JS, JS Language, Declaration|FullStack Wiki by Roger J