Skip to main content

Command Palette

Search for a command to run...

Entry Point

Updated
1 min read
Entry Point

PUBLIC interface through which we can communicate with a unit of code to trigger its process.

Indicates the name, received parameters and the return type obtained when the unit of code is executed.

A unit of code ONLY HAS ONE ENTRY POINT

/** Entry point */
function add(summand: number, otherSummand: number): number {
  return summand + otherSummand;
}

🇨🇴 Versión en Español