8000 CodeGraphContext/tests/sample_project_javascript at main · bunchofkeysdev/CodeGraphContext · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
 
 

README.md

JavaScript Sample Folder

This folder contains 10 JavaScript files that demonstrate major aspects and nuances of the language. It mirrors the structure of the Python sample folder used for indexing.

Files Overview

  • variables.js: Variable declarations using var, let, const
  • functions.js: Function syntax and arrow functions
  • arrays.js: Common array methods like map, filter, reduce
  • objects.js: Object creation and destructuring
  • dom.js: Basic DOM manipulation
  • events.js: Event handling in the browser
  • promises.js: Promise chaining and resolution
  • asyncAwait.js: Async/await syntax
  • fetchAPI.js: Fetching data from APIs
  • errorHandling.js: Try/catch error handling
0