Skip to content

Task 1 - Print to Console #1

Description

@pivee

You can use console.log() to print stuff. The objective of this task is to show you a simple implementation of the Façade Pattern.

Façade Pattern
It gives an interface to the user to interact with the system without having to understand the complexities in the system.

In this case, when you wrap console.log() inside a function, you can easily change the way things are printed if you ever wanted to do that.

Example:

function print(input) {
  console.log(input);
}

Metadata

Metadata

Labels

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