# Does \_.range() function from Lodash not working in the Javascript Column?

**URL:** <https://community.glideapps.com/t/does-range-function-from-lodash-not-working-in-the-javascript-column/55987>\
**Category:** Ask for Help\
**Created:** [December 22, 2022, 8:26pm UTC](https://community.glideapps.com/t/does-range-function-from-lodash-not-working-in-the-javascript-column/55987 "2022-12-22T20:26:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SET](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/set/32/51974_2.png) [@SET](https://community.glideapps.com/u/SET)\
**Post date:** [December 22, 2022, 8:26pm UTC](https://community.glideapps.com/t/does-range-function-from-lodash-not-working-in-the-javascript-column/55987/1 "2022-12-22T20:26:09Z")

</div>

When I try to use \_.range() function on the sample app [Glide • JavaScript column](https://www.glideapps.com/plugins/hell-yes-code), things seems to work properly.

Value in the p2 parameter was:

```
"5"

```

The sample code I used was:

```
return _.range(p2)

```

And the result I got was:

```
0,1,2,3,4

```

However, when I try to use the exact same code within my project’s Javascript column, I got  
" Function Error

ReferenceError: Can’t find variable: \_"

Anyone could educate me on this issue please.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 23, 2022, 3:03am UTC](https://community.glideapps.com/t/does-range-function-from-lodash-not-working-in-the-javascript-column/55987/2 "2022-12-23T03:03:28Z")

</div>

According to the below, the lodash library should be supported,

> [@How to import code packages in the JavaScript column](https://community.glideapps.com/t/how-to-import-code-packages-in-the-javascript-column/34466/1):
>
> The [JavaScript column](https://www.glideapps.com/plugins/hell-yes-code) already includes [`lodash`](https://lodash.com/), which provides a value named `_` with many useful utility functions. `lodash` is the most popular JavaScript library in the world, so we included it by default even if you do not use it.

This might be a bug.
