Skip to content

Instantly share code, notes, and snippets.

@rabwill
Created August 8, 2023 00:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rabwill/a9903b4c136690b03034843ae35b4add to your computer and use it in GitHub Desktop.
Save rabwill/a9903b4c136690b03034843ae35b4add to your computer and use it in GitHub Desktop.
GitHub Copilot blog prompt 2
// 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