What `void 0` means and why it can be replaced with `undefined` in most cases.
Converting to optional chaining can seem like a no-brainer, but there are a few things to watch out for.
See all P42 features and changes from January 2022.
`helloWorld;` looks like a statement that does not do anything. However, ...
It can be time-consuming to find the right extensions and configure VS Code.
Private fields and methods, top-level await, error causes and more...
Refactoring automation can safe you time, ensure the change is executed correctly, and warn about potential breakages.
Executing many automated refactorings in a row is a powerful way to improve your code quickly.
JavaScript short-circuiting operators and assignments and how to use them.
P42 for GitHub has several new code review features: inline comments, hint settings for code actions, and enhanced reports.
The conventional wisdom is that you should have good test coverage before refactoring your code...
7 team retrospective formats and their advantages and drawbacks.
How to refactor a function with nested conditionals.
The P42 JavaScript Assistant adds 32 refactorings for JavaScript and TypeScript to Visual Studio Code.
P42 for Visual Studio Code is now available in the Visual Studio Marketplace.
P42 reviews GitHub pull requests and checks for code modernizations.
P42 analyzes your commits and reports the results as checks in GitHub.
With the new P42 Personal and Team plans, you can analyze the JavaScript and TypeScript code in your private GitHub repositories.
Optional chaining, the nullish coalescing operator, and string.matchAll explained with examples.