Skip to content

FUNCTION RETURN VALUES #283

@ledsun

Description

@ledsun

This is a proposal for a new challenge. Please give me ideas and feedback.

Title

FUNCTION RETURN VALUES

Goal

Learn how to handle function return values.

Problem

The result of the function is a value.
You can get the result of the function as follows:

const ret = Math.random()

The challenge:

Create a file named function-return-value.js.

*** TODO ***

Check to see if your program is correct by running this command:

javascripting verify arrays.js

TODO

  • What are the challenges of learning to handle function return values?
  • Should this challenge include "Destructuring assignment"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    new challengerequest and discuss new challenges

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions