+ 2

is the javascript used for server side same as that of client side javascript?? i mean is syntax exactly same. i want to know difference. there must be some. i know node.js is used in backend and jquery,angular in front end, but overall they r javascript so why should it matter???. thanks in advance

18th Dec 2016, 5:36 PM
manish rawat
manish rawat - avatar
3 Antworten
+ 2
The core language is the same on both ends. There are some restrictions however on what APIs that you can use. For example, you can't really perform many file operations on the frontend but you can on the backed. On the other hand, you don't have access to a document object on the backed. There is a concept called isomorphic JavaScript which allows you to restrict what operations you perform so that your code can run on the frontend and the backend.
19th Dec 2016, 5:47 PM
James Durand
James Durand - avatar
+ 1
thanks
20th Dec 2016, 7:01 AM
manish rawat
manish rawat - avatar
0
meteor
15th Jan 2017, 3:59 AM
Gor Julhakyan
Gor Julhakyan - avatar