Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Mar 13th, 2018
75
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
const distinctQuantityOrders = [...new Set(orders.map(order => order.quantity))];
const distinctQuantityOrders = Array.from(new Set(orders.map(order => order.quantity)));
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C++ | 6 min ago | 0.42 KB
Untitled
C++ | 12 min ago | 0.39 KB
Untitled
C++ | 34 min ago | 0.62 KB
Untitled
PostgreSQL | 34 min ago | 2.71 KB
💲 G2A.com Free Gift Card Guide Mar 2024 💲
GetText | 57 min ago | 0.44 KB
Untitled
Rust | 1 hour ago | 2.35 KB
Untitled
Java | 1 hour ago | 1.15 KB
Untitled
JavaScript | 1 hour ago | 0.08 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!