Created
February 28, 2021 10:48
-
-
Save debbysa/489dab822398371b4a020c48fff36e0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const books = [ | |
{ | |
title: "Sebuah Seni Untuk Bersikap Bodo Amat", | |
author: "Mark Manson" | |
}, | |
{ | |
title: "Segala - galanya Ambyar", | |
author: "Mark Manson" | |
}, | |
{ | |
title: "Berani Bahagia", | |
author: " Ichiro Kishimi dan Fumitake Koga" | |
}, | |
{ | |
title: "Berani tidak disukai", | |
author: " Ichiro Kishimi dan Fumitake Koga" | |
} | |
]; | |
var bukuMark = books.filter((books) => books.author === "Mark Manson"); | |
console.log(bukuMark); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment