When JavaScript Conventions Aren’t Conventions

In experimenting with Dashcode last night using the introductory tutorial provided by Apple, I noticed that in their example, they build a URL dynamically: var dsource = dashcode.getDataSource(“list”); var name = dsource.selection().valueForKey(“name”); document.location = (“http://www.google.com/search?client=googlet&q=” + name); But your first thought when looking at this may be (as was mine), “what if there are spaces […]