DEV Community

Cover image for Day-82 Training At Ryaz
mahin651
mahin651

Posted on

Day-82 Training At Ryaz

  • Date:6/05/2022
  • Day:Friday

Today, I started at about 11:00 am as I was in progress to complete the java script course so, today I started with the left over task so, firstly I started with importing and exporting in es6 The export statement is used when creating JavaScript modules to export live bindings to functions, objects, or primitive values from the module so they can be used by other programs with the import statement and The static import statement is used to import read-only live bindings which are exported by another module.Imported modules are in strict mode whether you declare them as such or not.after this I started with top level await The await operator is used to wait for a Promise. It can only be used inside an async function within regular JavaScript code; however it can be used on its own with JavaScript modules.and Top-level await enables developers to use the await keyword outside of async functions. It acts like a big async function causing other modules who import them to wait before they start evaluating their body.and after this I served to resolve the problem of project soothes way my day ended up and I got to learn many new things.

Top comments (0)