GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing javascript.info — Can I add a string property? back to the lesson Can I add a string property?importance: 5 Consider the following code:
What do you think, will it work? What will be shown? Try running it: Depending on whether you have
Why? Let’s replay what’s happening at line
This example clearly shows that primitives are not objects. They can’t store additional data. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |