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

When I try to use _.range() function on the sample app Glide • JavaScript column, 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.

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

This might be a bug.

1 Like