Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Task: Defining a Compound Function | Mastering Functions
Introduction to JavaScript

Veeg om het menu te tonen

book
Task: Defining a Compound Function

Taak

Swipe to start coding

  • Define a new function called showStudentData having parameters: name, age and score.
  • Inside the showStudentData function:
    1. Use two console.log lines to output the name and age of the student in the following format:

      js
    2. Call the getGrade function using score as an argument.

  • Finally, call the showStudentData function with the following arguments: "Alice", 22, 97.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 4. Hoofdstuk 8

Vraag AI

expand
ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

book
Task: Defining a Compound Function

Taak

Swipe to start coding

  • Define a new function called showStudentData having parameters: name, age and score.
  • Inside the showStudentData function:
    1. Use two console.log lines to output the name and age of the student in the following format:

      js
    2. Call the getGrade function using score as an argument.

  • Finally, call the showStudentData function with the following arguments: "Alice", 22, 97.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 4. Hoofdstuk 8
Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Onze excuses dat er iets mis is gegaan. Wat is er gebeurd?
some-alt