Posts

Showing posts from October, 2021

NODE.js

  What is Node ? Node is a JavaScript Runtime ,cross-platform ,open-source build on Chrome's V8 JavaScript Engine.Node.js run the V8 JavaScript engine, the core of google Chrome, outside of the browser. This allows Node.js to be  very performant . Node.js has a unique advantage because millions of fronted developers that write JavaScript  for the browser are now able to write the server-side code in additional to the client-side code without the need to learn a completely different language. Why does not alert() run inside Node? alert() is not a part of Node it is a part of Browser type . no alert() function is there in node.js Because the function is actually a method that belong to the window object and there is no window object in node.js   What is Chrome v8 engine ? The Chrome V8 engine is a high performance JavaScript engine written in C++. It is an open source project by google. It also has the flexibility to be used both on the client side and server side. Ess...

Typescript and Javascript

  TypeScript: TypeScript is a strongly type programming language build on JavaScript. TypeScript can internally convert to JavaScript. TypeScript is a superset of JavaScript and it may be used to develop by JavaScript applications for both client-side and server-side It can catch errors on the Spot during the design time and also it gives better scale(class and function) and productivity. TypeScript can be maintain and developed by Microsoft . How different it from JavaScript: TypeScript  is a superset of JavaScript where JavaScript is a Scripting language which helps to create interactive web pages TypeScript need to compile while JavaScript code doesn't need to compile compare  TypeScript and JS,  TypeScript supports a features of prototyping while JavaScript doesn't support this features.     Data type Of TypeScript: TypeScript have only 3 data types they are Number ,String  and Boolean . TypeScript can build by JavaScript and JavaScript only have 3...