0% found this document useful (0 votes)
7 views

Java Script

The document provides an overview of TypeScript (TS), an object-based and object-oriented programming language introduced in 1445 by Brendan Eich. It discusses its evolution, features, and how it operates on both client-side and server-side environments, particularly with Node.js. Additionally, it covers data types, variable scopes, and the syntax rules of TS, highlighting its unique characteristics compared to other programming languages.

Uploaded by

saitejareddy8542
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
7 views

Java Script

The document provides an overview of TypeScript (TS), an object-based and object-oriented programming language introduced in 1445 by Brendan Eich. It discusses its evolution, features, and how it operates on both client-side and server-side environments, particularly with Node.js. Additionally, it covers data types, variable scopes, and the syntax rules of TS, highlighting its unique characteristics compared to other programming languages.

Uploaded by

saitejareddy8542
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 52
History 3 ts fotroduced in os 4 the year 1445, by Brendan tich working fo netscape compony | plat is TS? Pes fs a object-based ard obyect- oWented -prapranming language used 0 convert skaticspage inte dyrarnie- page 4 rver FEA cael ea Tt works on client -side Bs es poe aries pifferert names of TS. Seasersibe FL eae Zag qove 357 CTt isan open-soute) pytton cnet v mocha Iéve-sevipt iS e. Eemn-Sexp + Curcpien Compute LdonvtactueAssoviation _)€¢MA International %¢ an organisation created by | netscape compen They wilt al HERD 35 progromming acre . oifrom 2015 onwards, TS started booming (€s-6) fema- script Version-6) -Everep 104 ts get updated ing (n-buil ods Ae TS 2: ce having in-buitt metho ast oS ae c& Oriented prayers » abject based and ° ye, te t of TS ~ console -loal 5 langvage* intin statement % t Po ceshlaaae i 0 otypeotise onoyy Hello”) /HeMe eq: console log, io > v Us 2 Pr: opty console-log Ctype of “Hello Dusteirg Mh peot console) objet. ; 2 > Console is an obyect this objec have io butt metia! We can acces MY jo buitt metneds wit, 4he help of o(dot [peses) console -log Go) < 2 Consoke-leg (type ot conseletng) Console eq Ctype of lo )ytoq i not Dahir 2) Interpreted programming - lenqueg< cor) Scripted yogramming. Language tenet 4 7 64: ch 3) Tust-In-+ime Compiler CTo. check @ Sy tax) 4a) T4 ts ‘ease censidive (In 3S) werent having keywords loluich are wnittenin Lowercase, | Splat form Todependent Checavse it run’ on au Browser) 44: Browse v BTSs Co = Chrome ve Toeynet chekva pa gseenge® Satane JS-Cove Mozitta firefox — Spider- monkey e) Client-Side and Server-Side PL, sa Bete oi we want to convert elcent side to, Server-side ee we have to use node.je Wbrany G 7 figiiae poner , eee a node.js Is a combination of Ct method’s and ie chrome JS engine ve Se eal 1) Saqnchronous fo Mature apse Conus one call-stack bo -fmitions Sindle threaded Sytern) ; D4 we have 50 functions fo exeuste en ont Stack Cone-cperstor) all the 49 -functions Should untitarst fonction complefes tts exeartion- \ onde can, convert Synchronous to Asyuchvonovs wth oF help of settimeout C) and Set Interval) ihe pen os secon tert Anica apienante Th, Ae ' ore ca: walt | promise we can use APL - jets te ee slab aes | wloys ot wrting py Jetearnal- way: TH shourg ¢ y Ie IS be ust t | tile ‘nside a Script ta, ne! 4 Cpoived tg) ees : eat : ritters bottom of bi deed ‘ yt | &4: chtmi> < body > | - Htent- tag's st a Reads PrevlorFore tionality AE esenpe> igreabes bios ree ai Complerity D To overcome Complerity is ee rds oipitelss ex ternal om 2) Externa | way: Step: Create a -js-file | Stepas link ojs File to - btm! e sevipt toq (sevipt tog having “unk eh E ml > Lhead> | ~ Hem) ~ tay/S—