Introduction

Dart-JavaScript interoperability lets us run JavaScript code from our Dart programs.

The interoperability is achieved by using the [js](<https://pub.dartlang.org/packages/js>) library to create Dart stubs. These stubs describe the interface we’d like to have with the underlying JavaScript code. At runtime calling the Dart stub will invoke the JavaScript code.