SlideShare a Scribd company logo
1 of 32
Download to read offline
.-        o
        --           E

                     ~
                     o
             o       -.
                     V'


~
.­                   r
•
••
                     -.
~
.,                   '"
,...                 s:
-                     •
o


     -.
          _.
~
                          t
                          »
        I ,'.'
             1.11
                    ~.
                    ~    r,.
                    g     --
  •
  I
                    t.
  •         c...    0
  l
  0        ..:      ~     ~
                          ~
             IQ
  ITt
 :c:        ~             ~
                         ",.
i.:
~.
"'~
 ,,'"
.•
......
-.
~      ~       ••
                                                                 ~

                                                  '!t-   ...     -fa
                                                                 ,.
                                                  ,                     -­
                                                         ~
                <J::)                                              "
                ... -                   • •
                 .....                                   £
                                                                 '.a.
                                             6,          ,...
                         ••
         ••        "II                                   ~        :)
                ....
                   •                                     ~

                                                         ~
        c.M
      ..... •                         .. •               ~
                                                             . ..
                                                               .,
                                                                 '-"

                                                         ~       ~
                                                         WIt     r­
                                                                 -.
                                                                  •
                                                                ....    .. .
 c:
 ~
                                       r
                                       ,
                              ~        ~
                              ~
                              c
                                       -.
                                       c
                                       ,
                              ~

                              ~

                              ~
                               - r
                               - v'
                              -   •
~.                            "




+­
r                      ,                        X

             .....
             .,                    r..• :,               -.   I ...'
             ....  " CD          --              (t)                      >
             ,.
             '" It
         ,                                             '!.

                                "
                      .',., " "..
              " "     C1      I,                         •
                                           .JI
                                                                     •
              ",.. - ., -    -.
                           0,
                 •         vt
             ~                                    4
                           t'        -+
                      ... .,,                        ~                    s::
                                      C;
             t
             C                       r- r                      IO
                                                                   ---    -a
             ~
                                                                          '"
                                    ~ tA·~
                      --            S.
 .,
                                    ~                               ~
jf/II                               .,..
 ;C     --                 CV
-             ;(.                   ---                             v-
                                                                    --
                                                                    p
                                     "

                 ~
                                     "

                                     ~
                                                                     ~
                                                 ~
                                                                     II
          "
        ~ ",                         ~

                                             "
                                             r                ~
        '

          ,                          f'
        ,                 .""
                                     ..-...
 ....
                                             -- s::

                                     a
                                     ....
 '--' ... :.
        C' ,.                        ,.
                      ~

                     'I                       ~                     ~
                                               .... .               ~
                                     i            ~

                                              t'                    ~
                                     ~
o




e:
Number.prototype.stupid = function() {
   return (Math.floor(Math.random()*2) == 1);
};
var a = 4;
a;
a.stupid();
Number.prototype.stupid = function() {
  print ("I am not");
} ;

a;
a.stupid();
                          :s   WOI    J~   10r   EUf,~~-rJ,fi,u~
                               b'-~
J<:>
-.





       -"

       :>.
       ~
       cJ'
'WI'
~~~
 • • •                                                      c
         ~            .....&
                         ,.      -~                 ,
                                                    -       t }
QI
                         .....              c
                                                    ,..     c
              ~                                      ~           r­

             ,..
             ..,. •                         .,
                                             .              ~   ;;

                  r                         rJ
                                            ".       ,.     r    J

                                                                .,
             " ,..                    .~             )
             i'                             4        ....
                         -.           --.            ••     .    "

                                        "            .~
                         .~           ~ ~
             ......      I                           ~
             c.                       ••    ~        ~
                                                     ~
             ....       ~                            ..,.
                        Co            ~1             -.
             --         )             -.             •
                         "
                                                    ",
                         --                          ••
                                            -. ,
                                            ~
                                            ,.::"
                                            . IN'
                                            ..
                                            S­
                                            I
                                            ,
                                            r
                                            ~

                                                -
                                            "
Function.prototype.stupid = function() {
  retu rn (Math. floor (Math. rando'm() ;':2) =-~ 1);
};    I' iA ~ ~~

function a() { print("hi") }
a() ;
                     Bo",,~ ~'"
                                                 •
a.stupid();                                    ---."
Funct;on.prototype.stupid = function() {
  pri nt (~'I am not");
} ;

a();
a.stupid();           Wa~.f      Wh        •
var a =1;
var optimus ; function() {
   a=2;
   return function() {
      a = 3;
      r·etu rn functi on () {

          a = 6.;

          return function() {

              a == "prime";
             }

        }


}
    }
                                 ptj

optilmus()
opti mus () ()
optimus() () ()
opti mus () () () ()
<
                           Sl'
                           -,
                 -n<
                Sl'
                 o QJ
           -'-'0..
         ~      0..
         o      r". --'.   I
         0.. -I. _.        ~.
   Sl'   ro                c
   -J (/)         II       ::J
   ro...,                  X
   ., -I. 0
~""a'    L......J....          t
                 -I.       -n,
                           c
                 A         ::J
         -I.::J
                           n
                           rt
         n  0              -I.
         7'0..             0
                 ro        ::J
          III(/)           r".
                 •         ::J
         -n-J              0
         C (1)             0..
         ~::J              ro
         n lC              (/)
         rtM               ~
         -I. ::J""
         o ....            r-I'-
         ::J
         1"*"' -I •
         (D
         ~+
                  II
var add_junx = function(nodes) {
   var 1·,
            II]




   fo,r (i == 0; i < nodes. 1ength; i += 1)             {
       nodes[i].onclick = function(j) {
          return function(e) {
             alert(j);                                                I'~l     So
                  } (i) ;                            ~(
        }                   ',tll .,,~,
                                             ,A.
                                                                          ."
    }                                               ~
                                                    e..J u   ·        ~ ' (.("
                                                                      .
                                           -t ~     "...f" c.;~
}
                                                                 tr       "
                                           ~ ~.~
                                               .~l(.                      .aA.~.1
                                  t~t..
                                                                 .    .
                                           t;""                  •
                                          ~. ~~... e.- ~~
                                                                          1'" tI ·
.."

c:

..c

",
•
0          ",
 :

    tr                    ~
    ~.         C          f'                              -

               ttl       «'
     ,.                 ..,
                                        ~
                ,
    ~
                                        3      ,
         ,
    ••         ~                                          .,.

     c
     1&
                                        ,

              -.
         ••            ,-­
     ,
              ""
 ca..

               ~                        V'

    v                                        0

                                              "

         ,     0                        0

                                                          #

               ~

                                        ~
                        ••~
                                        ~.    ~
          ~

l              I
                       ~
S                                       c
     ~                                  Q-'   i
          ~

                                ,
            i

                                              ,.

     L.
     ....                     ...,.,

     ~             •           ,.,
     --        .....

     "
     "                   {'

                                                           c
      •
     ,..

     ---  •
                              l
                    ~
     ~
                                                    ~

                                                    ~
     "
       Q..
                                         .­
                                                            ~

     C,
     r                                               ~    ,..

    -- ,
     "
     ~
     ~
      -.                                            J~
,
c
-.


.,
.¢t'

More Related Content

What's hot

Hipermediaciones (Scolari, 2008)
Hipermediaciones (Scolari, 2008)Hipermediaciones (Scolari, 2008)
Hipermediaciones (Scolari, 2008)
Óscar Bustamante
 
alonso y fin cap 5(parte 2) mecanica
alonso y fin cap 5(parte 2) mecanicaalonso y fin cap 5(parte 2) mecanica
alonso y fin cap 5(parte 2) mecanica
Erick Muñoz
 
Guia practica productos notables
Guia practica productos notablesGuia practica productos notables
Guia practica productos notables
henry_try
 
Phy best ans sheet 2011
Phy best ans sheet 2011Phy best ans sheet 2011
Phy best ans sheet 2011
Siva Das
 
alonso y finn solucionario cap 5(parte 1)
alonso y finn solucionario cap 5(parte 1)alonso y finn solucionario cap 5(parte 1)
alonso y finn solucionario cap 5(parte 1)
Erick Muñoz
 

What's hot (19)

Portfolio of Casey Maddox
Portfolio of Casey MaddoxPortfolio of Casey Maddox
Portfolio of Casey Maddox
 
Scan Doc0003
Scan Doc0003Scan Doc0003
Scan Doc0003
 
Hipermediaciones (Scolari, 2008)
Hipermediaciones (Scolari, 2008)Hipermediaciones (Scolari, 2008)
Hipermediaciones (Scolari, 2008)
 
Scan doc0065
Scan doc0065Scan doc0065
Scan doc0065
 
Ms i 04
Ms i 04Ms i 04
Ms i 04
 
Histórico falso BRINGEL
Histórico falso BRINGELHistórico falso BRINGEL
Histórico falso BRINGEL
 
Img
ImgImg
Img
 
U Sodre 2002_
U Sodre 2002_U Sodre 2002_
U Sodre 2002_
 
Apostila de calculo Avançado II 1992
Apostila de calculo Avançado II  1992Apostila de calculo Avançado II  1992
Apostila de calculo Avançado II 1992
 
alonso y fin cap 5(parte 2) mecanica
alonso y fin cap 5(parte 2) mecanicaalonso y fin cap 5(parte 2) mecanica
alonso y fin cap 5(parte 2) mecanica
 
éLectrostat 2008
éLectrostat 2008éLectrostat 2008
éLectrostat 2008
 
Logopedia en casa
Logopedia en casaLogopedia en casa
Logopedia en casa
 
Ms i 06
Ms i 06Ms i 06
Ms i 06
 
E Craig 1999_
E Craig 1999_E Craig 1999_
E Craig 1999_
 
Guia practica productos notables
Guia practica productos notablesGuia practica productos notables
Guia practica productos notables
 
Phy best ans sheet 2011
Phy best ans sheet 2011Phy best ans sheet 2011
Phy best ans sheet 2011
 
alonso y finn solucionario cap 5(parte 1)
alonso y finn solucionario cap 5(parte 1)alonso y finn solucionario cap 5(parte 1)
alonso y finn solucionario cap 5(parte 1)
 
Fisica ii
Fisica iiFisica ii
Fisica ii
 
نظام عمل النقابة الحالى
نظام عمل النقابة الحالىنظام عمل النقابة الحالى
نظام عمل النقابة الحالى
 

Viewers also liked (8)

Goal
GoalGoal
Goal
 
Presentation advice
Presentation advicePresentation advice
Presentation advice
 
GOAL SETTING - Presentation
GOAL SETTING - PresentationGOAL SETTING - Presentation
GOAL SETTING - Presentation
 
Goal setting
Goal settingGoal setting
Goal setting
 
Improve Your Presentation Skills and Techniques 2016
Improve Your Presentation Skills and Techniques 2016Improve Your Presentation Skills and Techniques 2016
Improve Your Presentation Skills and Techniques 2016
 
How to improve your Presentation Skills
How to improve your Presentation SkillsHow to improve your Presentation Skills
How to improve your Presentation Skills
 
Teamwork presentation
Teamwork presentation Teamwork presentation
Teamwork presentation
 
Goal setting ppt
Goal setting pptGoal setting ppt
Goal setting ppt
 

Naked JavaScript

  • 1.
  • 2.
  • 3.
  • 4. .- o -- E ~ o o -. V' ~ .­ r • •• -. ~ ., '" ,... s: - •
  • 5.
  • 6. o -. _.
  • 7. ~ t » I ,'.' 1.11 ~. ~ r,. g -- • I t. • c... 0 l 0 ..: ~ ~ ~ IQ ITt :c: ~ ~ ",. i.: ~. "'~ ,,'"
  • 9.
  • 10. -.
  • 11. ~ ~ •• ~ '!t- ... -fa ,. , -­ ~ <J::) " ... - • • ..... £ '.a. 6, ,... •• •• "II ~ :) .... • ~ ~ c.M ..... • .. • ~ . .. ., '-" ~ ~ WIt r­ -. • .... .. . c: ~ r , ~ ~ ~ c -. c , ~ ~ ~ - r - v' - • ~. " +­
  • 12. r , X ..... ., r..• :, -. I ...' .... " CD -- (t) > ,. '" It , '!. " .',., " ".. " " C1 I, • .JI • ",.. - ., - -. 0, • vt ~ 4 t' -+ ... .,, ~ s:: C; t C r- r IO --- -a ~ '" ~ tA·~ -- S. ., ~ ~ jf/II .,.. ;C -- CV - ;(. --- v- -- p " ~ " ~ ~ ~ II " ~ ", ~ " r ~ ' , f' , ."" ..-... .... -- s:: a .... '--' ... :. C' ,. ,. ~ 'I ~ ~ .... . ~ i ~ t' ~ ~
  • 13. o e:
  • 14. Number.prototype.stupid = function() { return (Math.floor(Math.random()*2) == 1); }; var a = 4; a; a.stupid(); Number.prototype.stupid = function() { print ("I am not"); } ; a; a.stupid(); :s WOI J~ 10r EUf,~~-rJ,fi,u~ b'-~
  • 15.
  • 16. J<:> -. -" :>. ~ cJ'
  • 17. 'WI' ~~~ • • • c ~ .....& ,. -~ , - t } QI ..... c ,.. c ~ ~ r­ ,.. ..,. • ., . ~ ;; r rJ ". ,. r J ., " ,.. .~ ) i' 4 .... -. --. •• . " " .~ .~ ~ ~ ...... I ~ c. •• ~ ~ ~ .... ~ ..,. Co ~1 -. -- ) -. • " ", -- •• -. , ~ ,.::" . IN' .. S­ I , r ~ - "
  • 18. Function.prototype.stupid = function() { retu rn (Math. floor (Math. rando'm() ;':2) =-~ 1); }; I' iA ~ ~~ function a() { print("hi") } a() ; Bo",,~ ~'" • a.stupid(); ---." Funct;on.prototype.stupid = function() { pri nt (~'I am not"); } ; a(); a.stupid(); Wa~.f Wh •
  • 19. var a =1; var optimus ; function() { a=2; return function() { a = 3; r·etu rn functi on () { a = 6.; return function() { a == "prime"; } } } } ptj optilmus() opti mus () () optimus() () () opti mus () () () ()
  • 20. < Sl' -, -n< Sl' o QJ -'-'0.. ~ 0.. o r". --'. I 0.. -I. _. ~. Sl' ro c -J (/) II ::J ro..., X ., -I. 0 ~""a' L......J.... t -I. -n, c A ::J -I.::J n rt n 0 -I. 7'0.. 0 ro ::J III(/) r". • ::J -n-J 0 C (1) 0.. ~::J ro n lC (/) rtM ~ -I. ::J"" o .... r-I'- ::J 1"*"' -I • (D ~+ II
  • 21. var add_junx = function(nodes) { var 1·, II] fo,r (i == 0; i < nodes. 1ength; i += 1) { nodes[i].onclick = function(j) { return function(e) { alert(j); I'~l So } (i) ; ~( } ',tll .,,~, ,A. ." } ~ e..J u · ~ ' (.(" . -t ~ "...f" c.;~ } tr " ~ ~.~ .~l(. .aA.~.1 t~t.. . . t;"" • ~. ~~... e.- ~~ 1'" tI ·
  • 22.
  • 23.
  • 25.
  • 26. 0 ", : tr ~ ~. C f' - ttl «' ,. .., ~ , ~ 3 , , •• ~ .,. c 1& , -. •• ,-­ , "" ca.. ~ V' v 0 " , 0 0 # ~ ~ ••~ ~. ~ ~ l I ~ S c ~ Q-' i ~ , i ,. L. .... ...,., ~ • ,., -- ..... " " {' c • ,.. --- • l ~ ~ ~ ~ " Q.. .­ ~ C, r ~ ,.. -- , " ~ ~ -. J~
  • 27. ,
  • 28.
  • 29.
  • 30.
  • 31. c