本文转自:http://stackoverflow.com/questions/5645058/how-to-add-months-to-a-date-in-javascript/5645126 I took a look at the datejs and stripped out the code necessary to add months to a date handling edge cases (leap year, shorter months, etc): Date.isLea…
Winston is a popular logging library for NodeJS which allows you to customise the output, as well as different logging targets. This lesson covers configuring Winston to run with different levels depending on a Node environment variable as well as en…
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. You may assume the two numbers…
You can find/fork the sample project on GitHub Hey! This and all my other tutorials will soon be moving to a new home at CloseBrace, a site for JavaScript developers. You should totally click that link right now, and sign up to be alerted when the si…