Is it possible to write to a file (on a disk) using JavaScript?

后端 未结 9 1154
走了就别回头了
走了就别回头了 2020-11-28 14:51

I am a novice-intermediate programmer taking a stab at AJAX. While reading up on JavaScript I found it curious that most of the examples I\'ve been drawing on use PHP for su

9条回答
  •  暖寄归人
    2020-11-28 14:54

    Yes, of course you can. It just depends on what API objects your javascript engine makes available to you.

    However, odds are the javascript engine you're thinking about does not provide this capability. Definitely none of the major web browsers will allow it.

提交回复
热议问题