Skip to content

Waseem496/export-and-import-multiple-values

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 

Repository files navigation

Import and Export Multiple Values using ES6 Module Syntax

Create two files exportMultipleValues.mjs, importMultipleValues.mjs parallel to README.md file.

Write an array, object and a function that in the file exportMultipleValues.mjs and export them using the named export syntax.

Import the values in the importMultipleValues.mjs file.

Use ES6 module syntax.

The variable names and values are given in the below table,

Variable Type Description/Value
myArray Array ["camel", 265, true, "5.6"]
bulb Object {watts: 10, type: "LED"}
multiplyByFour Function Should accept a number and return a number multiplied by four

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published