๐ฐas variable
๐ง ๆฝๅทฅไธญ
Last updated
Was this helpful?
๐ง ๆฝๅทฅไธญ
Last updated
Was this helpful?
Was this helpful?
JS โฉ concepts โฉ expression โฉ function expression โฉ as variable
// โญ๏ธ the variable to which the "function expression" is assigned:
// -----------------------------------------------------------------------------
// โข will have a `name` property
// โข the name won't change if it's assigned to a different variable.
// โข (implicit name) if function is anonymous, it will be the "variable name".
// โข (explicit name) if function is named, it will be the "function name".
// โญ๏ธ (anonymous) function expression
// โญโโโโ โญ๏ธ โโโโโฎ
const f = function() { };