Skip to content
🔜
working on that thing you asked about
🔜
working on that thing you asked about
GitHub Sponsor
Block or report user

Report or block ljharb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse

Sponsors

@chppppp @aaharu @ThomasEg @kuwaitbinary @samsonjs @wgolledge @richchurcher @darcyclarke @hypzeh @fdjones @kamthamc @mysticatea @notchris

Sponsoring

View all
@eslint @PeterDaveHello @tatianamac @sdras @vaidehijoshi @nzakas @gr2m @lynncyrin @zkat @hzoo
Block or report user

Report or block ljharb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse

Pinned

  1. JavaScript Style Guide

    JavaScript 92k 17.9k

  2. Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

    Shell 39.3k 3.8k

  3. ECMAScript 5 compatibility shims for legacy (and modern) JavaScript engines

    JavaScript 6.8k 926

  4. A querystring parser with nesting support

    JavaScript 4.9k 439

  5. Tracking ECMAScript Proposals

    9.8k 366

  6. 1
    While attempting to explain JavaScript's `reduce` method on arrays, conceptually, I came up with the following - hopefully it's helpful; happy to tweak it if anyone has suggestions.
    2
    
                  
    3
    ## Intro
    4
    JavaScript Arrays have lots of built in methods on their prototype. Some of them *mutate* - ie, they change the underlying array in-place. Luckily, most of them do not - they instead return an entirely distinct array. Since arrays are conceptually a contiguous list of items, it helps code clarity and maintainability a lot to be able to operate on them in a "functional" way. (I'll also insist on referring to an array as a "list" - although in some languages, `List` is a native data type, in JS and this post, I'm referring to the concept. Everywhere I use the word "list" you can assume I'm talking about a JS Array) This means, to perform a single operation on the list as a whole ("atomically"), and to return a *new* list - thus making it much simpler to think about both the old list and the new one, what they contain, and what happened during the operation.
    5
    
                  

599 contributions in 2020

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Mon Wed Fri

Contribution activity

January 2020

Created a pull request in benmosher/eslint-plugin-import that received 6 comments

Release v2.20.0

This also includes patch releases of memo-parser, eslint-module-utils, and both resolvers. I'll push up the tags and publish them as part of mergin…

+707 −99 6 comments
3 repositories not shown

Created an issue in nodejs/node that received 10 comments

error message regression in node 13 vs 12

With this file, tmp, with +x permissions: #!/usr/bin/env node 'syntax error node tmp in node 12 / nvm run 12 tmp begets: $PWD/tmp:3 'syntax error ^…

10 comments
5 contributions in private repositories Jan 8 – Jan 13

Seeing something unexpected? Take a look at the GitHub profile guide.

You can’t perform that action at this time.