# \#es6

**URL:** https://community.smartbear.com/tag/es6/101.md

[Latest](https://community.smartbear.com/latest.md) · [Categories](https://community.smartbear.com/categories.md) · [Tags](https://community.smartbear.com/tags.md)

---

## [How to import a javascript class and extend it in another script unit](https://community.smartbear.com/t/how-to-import-a-javascript-class-and-extend-it-in-another-script-unit/312)

<div class="topic-metadata">

**Author:** [@system](https://community.smartbear.com/u/system)\
**Replies:** 6\
**Last updated:** [April 15, 2019, 1:53pm UTC](https://community.smartbear.com/t/how-to-import-a-javascript-class-and-extend-it-in-another-script-unit/312 "2019-04-15T13:53:49Z")

</div>

Originally posted by charleshb on April 08, 2019 Hi I am trying to use two Javascript projects - and export a class defined in one to be extended (inherited) in another. The example here how to import a javascript cl…
