The Wayback Machine - https://web.archive.org/web/20250519033552/https://github.com/lodash/lodash/issues/4997
Skip to content

_.uniq using the _.property callback shorthand not work #4997

Closed
@jonlepage

Description

@jonlepage

Not sure if is related to chromium version or lodash but the example in the demo not work on my side !

if i copy past the code from demo.
_.uniq([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');
image
i get this !!!
image


Lodash version

_.VERSION
"4.17.20"

env version

ares: "1.16.0"
brotli: "1.0.9"
chromium: "85.0.4183.121"
icu: "67.1"
llhttp: "2.1.2"
modules: "83"
napi: "7"
nghttp2: "1.41.0"
node: "14.12.0"
node-webkit: "0.48.4"
nw: "0.48.4"
nw-commit-id: "36d836f-fd6a2d5-d62bfb6-db44bec"
nw-flavor: "sdk"
openssl: "1.1.1g"
unicode: "13.0"
uv: "1.39.0"
v8: "8.5.210.26"
zlib: "1.2.11"

EDIT:
ok just update and try in last chromium 87 version, not work ! what happening here ?
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions