Difference between `require` and `import`

What does CommonJS require differ from ES6 import in Observable?

I’ve been using require and just realized import can be used too, but couldn’t find a explanation on the differences. Thanks.

Here’s a notebook on the subject:

Let us know if you have further questions!

1 Like