+ 4
Why JavaScript not made such to read/write files where as Java can do it flawlessly?
please describe the security reasons...
2 Respostas
+ 2
JavaScript runs in the client browser on JavaScript engine.Natively it can't write files to client. It will create a security issue. Not like other languages JavaScript is plain text any one can modify the file while other server side languages/technologies like Java(JSP) compiled to bytecode and executed on server side.
+ 5
thanks a lot @eranga