http://codepen.io/ErhanAYDIN/full/ltvsy

alttaki videoyu izlersen js 4 işlem mantığını çözebilirsin

http://www.youtube.com/watch?v=mfb3a8sf6M4