# Defining and reuse a "classic" JS function

**URL:** https://discourse.nodered.org/t/defining-and-reuse-a-classic-js-function/16372
**Category:** General
**Created:** [6 October 2019 07:22 UTC](https://discourse.nodered.org/t/defining-and-reuse-a-classic-js-function/16372 "2019-10-06T07:22:29Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![kuema](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kuema/32/6542_2.png) [@kuema](https://discourse.nodered.org/u/kuema)
#### Post date: [7 October 2019 04:35 UTC](https://discourse.nodered.org/t/defining-and-reuse-a-classic-js-function/16372/14 "2019-10-07T04:35:03Z")

</div>

Similar to my approach here: [Importing function from another node](https://discourse.nodered.org/t/importing-function-from-another-node/15885/6)

Just for completeness. 🙂

---

_[View the full topic](https://discourse.nodered.org/t/defining-and-reuse-a-classic-js-function/16372)._
