Skip to main content

Command Palette

Search for a command to run...

Entry Point

Published
1 min readView as Markdown
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

Unit Testing

Part 3 of 19

Unit tests are a tireless guard that overwatch your software to ensure it always behaves as it's expected. In this series I'll introduce to you its basic concepts.

Up next

- Body -

Of a unit of code