DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js check if objects have same values
Object.values(obj1).every((val, index) => val === Object.values(obj2)[index])
Source by 1loc.dev #
PREVIOUS
NEXT
Tagged:
#js
#check
#objects
#values
ADD COMMENT
Topic
COMMENT
Name
9+8 =
Submit