joyent/node — Issue #1965: writeFileSync outputs memory contents when passed a number
Author: sjltaylor
Created: 2011-10-29 13:31:01+00:00
State: open

`require('fs').writeFileSync('somefile.txt', 123651)`

apparently outputs 123651 bytes of data from memory.