curriculum/challenges/english/blocks/workshop-library-manager/67116d7584d0b469b14579bf.md
Inside the library array, create an object with the following properties and values:
| Property | Value |
|---|---|
title | "Your Next Five Moves: Master the Art of Business Strategy" |
author | "Patrick Bet-David and Greg Dinkin" |
about | "A book on how to plan ahead" |
pages | 320 |
You should have an object inside the library array.
assert.isObject(library[0])
Your object should have a title property.
assert.property(library[0], "title")
The value of your title property should be "Your Next Five Moves: Master the Art of Business Strategy".
assert.propertyVal(library[0], "title", "Your Next Five Moves: Master the Art of Business Strategy");
Your object should have an author property.
assert.property(library[0], "author")
Your author property should have the value "Patrick Bet-David and Greg Dinkin".
assert.propertyVal(library[0], "author", "Patrick Bet-David and Greg Dinkin");
Your object should have an about property.
assert.property(library[0], "about")
Your about property should have the value "A book on how to plan ahead".
assert.propertyVal(library[0], "about", "A book on how to plan ahead");
Your object should have a pages property.
assert.property(library[0], "pages")
The value of your pages property should be a number.
assert.isNumber(library[0]?.pages)
Your pages property should be set to 320.
assert.propertyVal(library[0], "pages", 320);
const library = [
--fcc-editable-region--
--fcc-editable-region--
];