|
|
JavaScript Demos:
|
javascript:7/3 javascript:Math.random() javascript:for(i=0,j=1,k=0,fib=1; i<10; i++,fib=j+k,k=j,j=fib) alert(fib); Discussion.To quickly test the evaluation of a JavaScript expression, you can enter it as a JavaScript pseudo URL and Netscape and Explorer will interpret it. These examples were typed as shown in the browser's File -> Open box for entering URLs.
|
|