FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
tmcw
tmcwunderscoreExample
Public
Like
underscoreExample
Home
Code
2
README.md
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
README.md

underscore

underscore is a module for functional programming and other utilities in JavaScript. It inspired lodash, which is what most people use now, because lodash is both faster, and provides an ESM version which is convenient to use in Val Town.

Note that while we can import from lodash-es and use its named exports, underscore only provides a default export, so that's why we have the code { default: _ } below.

Migrated from folder: Modules/underscoreExample

Code
README.mdmain.tsx
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.