资源描述:
《[JavaScript.for.PHP.Developers(2013.4)].Stoyan.Stefanov.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、JavaScriptforPHPDevelopersStoyanStefanovJavaScriptforPHPDevelopersbyStoyanStefanovCopyright©2013StoyanStefanov.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurc
2、hasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:800-998-9938orcorporate@oreilly.com.Editor:MaryTreselerIndexer:Meg
3、hanJones,WordCoIndexingProductionEditor:KaraEbrahimCoverDesigner:RandyComerCopyeditor:AmandaKerseyInteriorDesigner:DavidFutatoProofreader:JasmineKwitynIllustrator:RebeccaDemarestApril2013:FirstEditionRevisionHistoryfortheFirstEdition:2013-04-24:FirstreleaseSeeht
4、tp://oreilly.com/catalog/errata.csp?isbn=9781449320195forreleasedetails.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.JavaScriptforPHPDevelopers,theimageofaneasterngraysquirrel,andrelatedtradedressaretradem
5、arksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatrade‐markclaim,thedesignationshavebeenprintedincapsorinitialcaps.W
6、hileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcontainedherein.ISBN:978-1-449-32019-5[LSI]ToNathalie,Zlatina,andEvaTableofContentsAcknowledg
7、ments.............................................................ixPreface.......................................................................xi1.Introduction................................................................1ScopeofThisBook2TheLanguage3Learnin
8、gEnvironment4Browsers4JavaScriptCore5Node.jsandRhino6LongerExamples7Let’sGetStarted72.JavaScriptSyntax............................................................9Var