Fallback value for the module

What it means that export default is the fallback value for the module?

Can someone reply please?

It means you don’t need curly braces format to import that module. like for example

// module "my-module.js"

export default function cube(x) {
  return x * x * x;
}

then when you import

 import cube from './my-module.js';
console.log(cube(3)); // 27 
1 Like

Thanks for your reply.