Created
August 8, 2023 00:07
-
-
Save rabwill/a9903b4c136690b03034843ae35b4add to your computer and use it in GitHub Desktop.
GitHub Copilot blog prompt 2
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
// create a const array of products with length 3 and properties: id, name, description | |
const products = [ | |
{ id: 1, name: "Product 1", description: "Description for Product 1" }, | |
{ id: 2, name: "Product 2", description: "Description for Product 2" }, | |
{ id: 3, name: "Product 3", description: "Description for Product 3" }, | |
]; | |
// export the products array | |
module.exports = products; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment