Default. Both return 1 when both args are undefined.
Pick. Use the helper that matches the math you mean.
Compatibility
Browser & Runtime Support
_.multiply is a Lodash Math helper (available since 4.7.0, stable in 4.x). It runs anywhere Lodash runs — modern browsers (via CDN or bundle) and Node.js / Bun / Deno with npm install lodash. Native engines already have *; Lodash provides a function form for composition and a 1 default when both args are undefined.
✓ Stable · Lodash 4.7.0+
_.multiply()
Available in [email protected] full builds and the lodash/multiply 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
_.multiplyLodash 4.7.0+
Bottom line: Safe for production once Lodash is on the page or in your bundle. Prefer import multiply from "lodash/multiply" for smaller builds. Equivalent to native * with Lodash’s undefined short-circuit and default 1.
Frequently Asked Questions
_.multiply(multiplier, multiplicand) returns the product of the two numbers. Official docs: _.multiply(6, 4) → 24.
_.multiply() with both undefined returns 1 — the multiplicative identity used by Lodash’s createMathOperation for multiply/divide.
The defined value is returned as-is. Example: _.multiply(6, undefined) → 6 and _.multiply(undefined, 4) → 4.
No. _.multiply(0.1, 0.2) matches native 0.1 * 0.2. Lodash does not correct IEEE-754 quirks.
_.add(10, '5') concatenates to '105'. _.multiply(10, '5') coerces and returns 50. Non-numeric strings still become NaN.
Use import multiply from "lodash/multiply" or require("lodash/multiply") for tree-shaking. Full build: import _ from "lodash" then _.multiply.