Skip to content

url: refactor lib/internal/url.js

Rodrigo Muino Tomonari requested to merge github/fork/Trott/reduce into master

This PR addresses some minor nits I meant to leave on a recent pull request but didn't. /cc @TimothyGu

  • set an identifier for the separator rather than using multiple instances of the same literal
  • consisitent arrow function body formatting
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

url

Merge request reports

Loading