From 53fd9ff4bf08aa3132b28c1f8b2cc2ee3fc396a2 Mon Sep 17 00:00:00 2001 From: h2210316651 <46309500+h2210316651@users.noreply.github.com> Date: Wed, 20 Sep 2023 10:09:22 +0530 Subject: Updated modules.md to address issue #5420 (#5456) * Update modules.md Updated docs to address `The ES modules aren't always asynchronous. #5420` Issue. - Included an elaborate explanation citing the difference between CommonJS and ES Modules, - Added a summary * Tweaks --------- Co-authored-by: Colin McDonnell --- docs/runtime/modules.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/runtime/modules.md b/docs/runtime/modules.md index 5562b5d15..cfda31e3b 100644 --- a/docs/runtime/modules.md +++ b/docs/runtime/modules.md @@ -128,6 +128,17 @@ The biggest difference between CommonJS and ES Modules is that CommonJS modules - Browsers do not have native support for CommonJS modules, but they do have native support for ES Modules via `