in reply to Re^2: [OT] Mysterious function.
in thread [OT] Mysterious function. (Updated)
Excellent! :) Yes, node.js allows you to run JS at the command line. It is quite a handy tool to have at your disposal:
var last = 0 var step = 2500 for (var i = 1; i <= 100*365.25*24*60*60*1000; i += step) { j = _DateInterval( i ) if ( j > last ) { console.log( i + ' -> ' + j ); step = ( j - last ) / 10; last = j; } } function _DateInterval( vv ) { .... }
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|