you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 11 hours ago (5 children)

Coding noob here. What am I looking at? I want to laugh too. :(

  • source
  • hideshow 5 child comments
  • [–] 11 points 7 hours ago (2 children)

    npm, or node js by extension, is famous (infamous?) for having a library for however simple something is to implement. For example a whole library to trim spaces of a string, but only for the left side. Here the joke takes it to the extreme and even import numbers, if conditions, etc., features that are already available in the core language, from external npm libraries, and use that to write a code snippet.

  • source
  • parent
  • hideshow 2 child comments