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

Javascript Notes PDF

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

Javascript Notes PDF

Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 28
* Seniphvg Languages :~ These ove Spedalinad programming languages ushich et Used euhane Jandonolily ond appecrance of uuabpes These. ave hoe Wipes = chenk side soaphing lavguage used fer simple volicheions at chent-side. = Server Sid sevipliug lerguage sed 421 delbase validator Servi PRUQ, lang wages clienk=side! | Server-Side | JN ’ pee ofp Xe vBssigt JScript govascript ASP. Sevvlets, gsp > (eg:- THE is used 15 meludet me Sever info html doument. amok:- Zscvipl longuaye =" Hane ol Sed ee'> 2 The Seriphing -lamguoges cou user 1S Modily decument!s Contink dynamically, > Fovasevipt WSs click —side seviettng. lnvguaje - Scanned with CamScanner j¢ Tabedudin fe reve sompti- _ i movascript iam obget bast Seviphvy loypice, which is designed fe enhane Junckouabity of vscbpags Thok are dowteped vite HTML~ gavaseigt fs a elcent- Sida St pling language. D> Simileikes beluga Tovatexiot and Java s— Ls Germ have Some kind ok opexalays, Ly Similar conbal Shrucbores. Ly comets ok obgeds and matheds ert Similar. D> Dijterences bekuam sovascript grid JOVO 2- Ly save is am obgait ~Brenkid whan qovaserist Ts am obgeth- based Sevipkvy language + Ls youn susie code UE compiled Jivst and Maw tuliivgretid, wllere Taveserspt Code is nat covngitd only iuliepyetid + roti py rhe obgect — based programming Language, mt Cam ute pre-defined obyects only. Te object -Stienlid pragramming lorguage Supers te creoli new objets ond te wr We objet > Benigits de gevaserigl 2 Ly widely Supeorted fn web browsers Ly cab Sempnd dow weed & Speiel pag-in fe ux your Senet. Lo ap giv Mu eaty accel te dowmant obyatt eM com most oh Them. Scanned with CamScanner % Veeria bles t= A voruabl is a named location that & used. to ederve amy value da that pavtculoy progam « Rules 4A naming TH vavioble > names must begin with a letter & digit: B vemeret- > spaces ave not ailgued in bebueen vacoble NAM > Names ave Case Somsiive toon’ | UL aS Vertable Mame: dadoed by using ome np > Resowed wed => AIL voddables can be Te “vey". EH Apr a Vay sum= * Datatypes + ova ceript supworts fellowsing dlataliypos Ls Numeric exe Ly strings =— Ney 6 Boolaany vew & nuit ses ver age = hull; 4 na % operates in Java sengt Ls avitmete operatersi= Ly Relational operalav: + > Addition < = Less thon = — subshoution > 9 qrally Thom % > Mulbpi ation a= 3 lessttian A equel to ft = Division d= > gaol than qual | “wee ae Ly Lagicst gpa Sabaltly peur a4 > logical AND > Is qual hy > logical oR > ty nok cual te ‘Scanned with CamScanner & progmmming With Sava Severs * Exanphi~ The tollaning enample pregvar displays ti Nalmodl xh | “chbml > Fscrwpl «hia ; Samp Tava sev! 2i-- This Indicabes MH comment --> progvam"): pl douiments covitily Cus is my -hysle | desma} > amteliot™ obeak goveserpt Ly | < Iscvipk> | < Iwbnl> Th The above encmple, / >