Closed AliMD closed 10 years ago
الآن این می خواد چی بگه؟ کسی می شه فارسی توضیح بده:
agha man hichi az in java script 101 az ghesmate Conditional Code be bad ro nemifahmam. avalan inke englishe dovoman khodaeesh 90% nemifahmam. un 10% ham ke mifahmam chizaeeye ke too kelas gofte shode. chi kar konam. help me :unamused:
این چی می خواد بگه:
@hoseinBL : شما که ماشاالله این قدر فعال شدی که داری تند و تند همه ی ایشو هارو باز و بسته می کنی خوب یه جوابی هم به این کامنت های من بده. بدبخت شدم. دارم عقب می افتم.
In @hoseinBL chera bihal va kam kar shode age vazayefeto dorosy anjam nadi nemizaram dige biyay class ha :D @akbarzadeamin mitooni behem zang bezani ? typesh sakhte, ye zaman ke free boodam mesle emshab betel
@AliMD & @akbarzadeamin kho daqiq motavajeh nashodam goftam bzaram khodetun bgin ! :| :no_mouth:
@AliMD: کی بزنگم؟
@AliMD: من می خوام ساعت ۱۲ بخوابم. منظورتون از اینکه امشب زنگ بزنم دقیقا چی بود؟ :confused:
alan
@AliMD: چند گیگ می خواین بگین براتون بخرم.؟ رایگانه. جدی می گم
آخه چرا خروجی باید بشه ورد:
این آخراش تو ذهنم نمی ره. اینا رو می زارم برای اینکه فردا یادم باشه بپرسم نه اینکه الآن جواب بدید: http://learn.jquery.com/javascript-101/scope/
Next : C14 W3 S12
@akbarzadeamin : Amin, az scope hanooz soaali dari? bebin vaghti parde ha ro too khoone bekeshi hanoozam mitooni biroono bebini vali az biroon nemishe too khone ro did. pas yaadet baashe moteghayyere Global (biroon) too function ghabele dastresi hast vali moteghayyere local (daakhele khoone) az biroone mohitesh (biroone khoone) ghabele dastresi nist. ye kam ke bahash kaar koni behesh aadat mikoni. dar zemn yaadet baashe ke ham too khoone mitoonim ali dashte bashim va ham biroon az khoone ali haye ziyadi vojood daran vali oon chizi ke dar zehneshoone motefavete. pas agar yek ali dar khoone be footbal fekr mikone momkene ali biroon az khoone be valibal fekr kone. va agar be ali too khoone begi be shena fekr kone ali biroon az khoone hanooz dare be volibal fekr mikone. in ro dar nazar begir va dar morede aakharin soaalet be natije miresi. sharmande ke dir javab dadam. age baz ham soal dashti bepors, ma dar khedmatim :space_invader: .
@hoseinBL , @AliMD : Salaaaaaaam, man bargashtaaaaaaam :dancers: .
@Rabioso salam, welcome back !
The description of ".splice" seems incorrect to me as I don't gain the proper results(at least not shown correct on my chrome). Will check other resources to check my code out. Will log the result soon.
Ok,ok, this is called Javascript : all the cons and pros.
According to Mozilla this code should work properly (which it doesn't) :
1 var myFish = new Array("angel" , "clown" , "mandarin", "surgeon");
2 var removed = myFish.splice(2 , 2 , "drum");
3 alert(removed); // mandarin,surgeon
But in the code below which would be its conversion (by omitting the referration of the result of splice to "removed" ) :
1 var myFish = new Array("angel" , "clown" , "mandarin", "surgeon");
2 myFish.splice(2 , 2 , "drum" , "bass");
3 alert(myFish); // angel,clown,drum,bass
VOILA ! And why this happens ? I couldn't figure it out. There must be something wrong with my knowledge ;)
P.S : I tried to fix it by adding "bass" to the end of splice query (in the first code example), yet no correct result was gained.
Did anyone find any clues?
jQuery and Zepto
HomeWork
Complete events: http://jsbin.com/ginub/6/edit Our design pattern: http://jsbin.com/ginub/7/edit
Do it yourself