Creates a new array concatenating array with any additional arrays and/or values. Array arguments are flattened one level. Added in Lodash 4.0.0. Does not mutate the source.
Pass the required arguments shown below. Lodash Array helpers usually return a new value — check whether the source array is mutated.
Syntax
Call _.concat on an array. Start with this line.
Lodash
_.concat(array, [values])
Call
What it does
_.concat(array, [values])
Primary signature.
_.concat(array)
Call with an array argument.
Prefer import concat from "lodash/concat" when you want a smaller bundle.
Library declarations
Lodash
_.concat(array, [values])
Parameters
Parameter
Description
array
Optional. Starting collection (*omit all args → [])
Copy first. Lodash copies the starting array before appending.
Build other. Extra args go into the new result only.
Check source.array is still [1].
Safe. Prefer concat over push when you must keep the original.
Compatibility
Browser & Runtime Support
_.concat is a Lodash 4.x Array helper (since 4.0.0). It runs anywhere Lodash runs — modern browsers (CDN or bundle) and Node.js / Bun / Deno with npm install lodash.
✓ Stable · Lodash 4.0+
_.concat()
Available in [email protected] full builds and the lodash/concat modular import. Works in evergreen browsers and current Node LTS when Lodash is installed.
100%With Lodash 4.x
Google ChromeSupported · Desktop & Mobile
Full support
Mozilla FirefoxSupported · Desktop & Mobile
Full support
Apple SafariSupported · macOS & iOS
Full support
Microsoft EdgeSupported · Chromium
Full support
Internet ExplorerNo native support · Use a polyfill
Polyfill
OperaSupported · Modern versions
Full support
Samsung InternetSupported · Android
Full support
BunSupported · JavaScript runtime
Supported
DenoSupported · JavaScript runtime
Supported
Node.jsSupported · Server runtime
Supported
Android WebViewSupported · Modern WebView
Full support
_.concatLodash 4.0+
Bottom line: Safe for production once Lodash is loaded. Prefer import concat from "lodash/concat" for smaller builds. Not a native browser API — load Lodash first (or use Array.prototype.concat).
Frequently Asked Questions
_.concat(array, …values) creates a new array by joining the first array with any extra values and/or arrays. Array arguments contribute their elements one level deep. The original array is not changed.
No. It returns a new array. The source you pass as the first argument stays the same.
An array argument spreads one level. So _.concat([1], 2, [3], [[4]]) yields [1, 2, 3, [4]] — the inner [4] stays as one element.
They follow the same one-level flattening idea. Lodash offers a stable functional API and works well with modular imports.
No. Object references are copied shallowly — the same instances appear in the new array.
Use import concat from "lodash/concat" or require("lodash/concat") for tree-shaking. Full build: import _ from "lodash" then _.concat.