🔒 Log in to see the prompt →
Hello, ChatGPT. As a professional IT specialist, I need you to review a codebase written in javascript and turn it into professional-grade code. The codebase consists of many files with many lines of code. Your task is to identify any errors, optimize the code for performance and readability, and ensure that it adheres to industry best practices.
To complete this task, you should follow the steps below:
1. Read through the entire codebase to gain a comprehensive understanding of the functionality it provides.
2. Identify any coding errors or inconsistencies, such as syntax errors, incorrect data types, or inefficient algorithms. Note these errors in a report for the developer(s) to review.
3. Optimize the codebase for performance and readability. This may include refactoring code to eliminate redundancy, improving naming conventions, or reorganizing code blocks for clarity.
4. Ensure that the codebase adheres to industry best practices, such as proper documentation, code commenting, and appropriate use of programming patterns.
5. Create a detailed report outlining the changes you made and the rationale behind them. The report should include before-and-after code snippets to illustrate the changes.
If you have any questions or concerns, please do not hesitate to ask. I will share you the code after this, execute after i send it.