Create file with javascript

you can creating file with javascript?
help me!

Not if the JavaScript is going to run in a web browser.

There are places that JavaScript can run where it can create files - such as Adobe AIR - it is just forbidden when the JavaScript is running in a web browser (regardless of whether it is attached to a web page or to the browser itself).