Sunday, February 28, 2010

:::|| VU Google Group ||::: CS101 Anyone plzzzzz answer these???

1)What is the out put of the following JavaScript code ?

             name="Ali Akbar";

             document.write(name.charAt(4))  ;



2)

What is output of the following JavaScript code ?

      Str="Virtual University of Pakistan";

       document.write(str.substring(5,str.length))  ;

No comments:

Post a Comment