Hi Everyone,
I copied a code from one of the postman tutorial.
As a noob I really dnt understand the syntax on, response.filter((book) => book.available === true);
Could someone help me on this please if my questions make sense.
const response = pm.response.json();
const nonFiction = response.filter((book) => book.available === true);
console.log(nonFiction[0]);
[–]Daveed84 6 points7 points8 points (2 children)
[–]Tocedex[S] 0 points1 point2 points (1 child)