1.0.4 ā€¢ Published 6 months ago

callback-number v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

šŸ‘„ Authors

šŸ‘¤ SYED ASAD JAMIL

šŸ›  Built With: JavaScript

A function named showNumber is defined

It takes a single argument, which is expected to be a callback function. Inside the function, a variable number is assigned the value 123. Then, the callback function is invoked with number as an argument.

The showNumber function is used by passing an anonymous callback function as an argument. This callback function takes a parameter result, which will receive the value of number (123 in this case). Inside the callback, it logs a message to the console, concatenating the result.

šŸ›  Exporting the Function:

Finally, the showNumber function is exported using module.exports. This makes the showNumber function available for use in other files.

šŸš€ NPM Package

šŸ“ License

This project is MIT licensed.

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago