Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/nodejs.dev
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: 0xnoob/nodejs.dev
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 4 files changed
  • 1 contributor

Commits on Jun 9, 2019

  1. %d doesn't format a variable as integer

    I think it's best to just
    ---
    https://nodejs.org/api/util.html#util_util_format_format_args
    
    `%d` - `Number` will be used to convert all values except `BigInt` and `Symbol.`
    `%i` - `parseInt(value, 10)` is used for all values except `BigInt` and `Symbol`.
    
    ---
    https://stackoverflow.com/questions/4090518/what-is-the-difference-between-parseint-and-number
    0xnoob authored Jun 9, 2019
    Configuration menu
    Copy the full SHA
    927c6cb View commit details
    Browse the repository at this point in the history
  2. %o instead of %O

    """console.log('%O', Number)""" just prints """[Function: Number]""", while """console.log('%o', Number)""" prints the content of the Number object.
    https://nodejs.org/api/util.html#util_util_format_format_args
    0xnoob authored Jun 9, 2019
    Configuration menu
    Copy the full SHA
    0c05256 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb97d75 View commit details
    Browse the repository at this point in the history
  4. grammar

    0xnoob authored Jun 9, 2019
    Configuration menu
    Copy the full SHA
    ca66721 View commit details
    Browse the repository at this point in the history
  5. Added link to yarn (#1)

    0xnoob authored Jun 9, 2019
    Configuration menu
    Copy the full SHA
    db67a83 View commit details
    Browse the repository at this point in the history
  6. grammar

    0xnoob committed Jun 9, 2019
    Configuration menu
    Copy the full SHA
    23b046d View commit details
    Browse the repository at this point in the history
Loading