Javascript vs Typescript

TypeScript Vs JavaScript In Hindi

TypeScript

Typescript Vs Javascript In HindiTS Vs JS In Hindi Me Ham Difference Ko Dekhne Wale Hai And Inke Ek EK Point Ko Bhi Cover Karne Wale Hai |

Yadi Aapne  HTML Full Course  And CSS Full Course And Python Full Course And PHP Full Course Nhi Read Kiya Hai To Aap Vah Bhi Read Kar Sakte Hai |

Typescript Vs Javascript In Hindi

Javascript Html Or Web Ki Sabse Famous Programming Language Hai. Javascript Ek Object-Oriented Scripting Language Hai Jo Light Aur Cross-Platform Hai.

Also Read – JavaScript

Typescript Ek Open-Source Pure Object-Oriented Programming Language Hai.Yah Javascript Ka Ek Strongly-Typed Super Set Jo Typescript Ko Plain Javascript Me Compile Karta Hai. Typescript Ko Microsoft Dawara Apache 2 License Ke Under Develop Aur Maintain Kiya Gaya Hai.

Typescript Kisi Bhi Browser Par Run Kar Sakti Hai Or Iska Tool Support System Bahut Acha Hai,Ye InstelliSense Bhi Provide Karti Hai Jis Se Code Likhte Time Errors Kaa Pta Chalta Rahta Hai.Module Me Namespace Concept Ko Bhi Ye Language Support Karti Hai.

Difference Between TS Vs JS In Hindi

Typescript Javascript
Typescript Ko Hum Directly Browser Par run Nahi Kar Sakte.Javascript Ko Hum Directly Browser Par Run Kar Sakte Hai.
Yah Strongly-Typed Or Static Typing Feature Ko Support Karta Hai.Yah Strongly-Typed Or Static Typing Feature Ko Support Nahi Karta.
Isko Anders Hejlsberg Dawara 2012 Me Developed Kiya Gaya Hai.Isko Netscape Dawara 1995 Me Developed Kiya Gaya Hai.
Yah Object-Oriented Programming Concept Like Classes, Interfaces, Inheritance, Generics, Etc. Ko Support Karti Hai.Yah Ek Sirf Scripting Language Hai.
Isme Number, String Interface Hote Hai.Isme Number, String Objects Hote Hai.
Typescript Modules Supportive Language Hai.Javascript Module Supportive Language Nahi Hai.
typescript generics ko support karti hai.Javascript Generics Ko Support Nahi Karti.
Typescript File Ka Extension “.ts” Hota Hai.Javascript File Ka Extension “.js” Hota Hai.
Optional Functional Parameter Ko Support Karti Hai.Optional Functional Parameter Ko Support Nahi Karti.
Example:
function addNumbers(a, b)
{ return a + b; }
var sum = addNumbers(15, 25); console.log(‘Sum of numbers is: ‘ + sum);
Example:
function addNumbers(a, b)
{ return a + b; }
var sum = addNumbers(15, 25); document.write(‘Sum of numbers is: ‘ + sum); </script>

Disadvantages Of Typescript

  • a)Typescript ke Code Ko Compile Hone Me Jayda Time Lagta Hai.
  • b)Typescript Abstract Classes Feature Ko Support Nahi Karti.

Dosto mujhe ummed hai ki aap  JavaScript Vs TypeScript In Hindi ko acchi tarah se samanj gye honge agar aap ko ye post acchi lage to mere is website ko jarur follow kre |

Leave a Reply

Your email address will not be published. Required fields are marked *