Put in order · JavaScript and TypeScript course · Module 6: TypeScript Basics
Function Syntax with Types
Arrange the elements of a TypeScript function with parameter and return types:
Items to put in order
- amount: number)
- : void { }
- function feed(
- name: string,
You can check the correct answer by solving this task in the CodeWorlds game.