So
strObj = new String("puppies!");
will produce the same object as
strObj = {"puppies!"};
?
Mostly I learned Javascript by editing code that our consultant developers wrote. Now I'm trying to actually understand what's going on.
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
So
strObj = new String("puppies!");
will produce the same object as
strObj = {"puppies!"};
?
Mostly I learned Javascript by editing code that our consultant developers wrote. Now I'm trying to actually understand what's going on.
OK, my previous post was wrong.
This application just has a shitload of String objects, which we need for the String methods. So how do I get a String object without using 'new String()'?
A string literal gets automatically converted to a string object whenever you call a method on it.
This page [link] has a good description of what happens.
If you haven't already, read Crockford's book JavaScript: The Good Parts. JavaScript is a elegant little language that is quite easy to understand but has a few "bad parts" and is often tarred with the foul bush that is the browser document object model.
A string literal gets automatically converted to a string object whenever you call a method on it.
Heh. I just figured that out a minute ago!
Dunno why our consultants used 'new String()'.
read Crockford's book JavaScript: The Good Parts.
I've read parts of it. It's what made me realize I didn't really understand JavaScript that well.
Thanks.
I'd guess that early browsers didn't handle string literals correctly.
It turns out that I AM screwed with regards to the mini mac. Amazon isn't going to help me. I waited too long, trying to resolve the problem myself. My only recourse was to was leave bad feedback for the seller.
Chalk that dearly needed money up as down the drain.
Ah, well. Brushing myself off, I just need to figure out how to make it back.
To that end, I'm looking for a dirt cheap laptop with one of the following set of criteria to use as a biofeedback monitor in my private practice.
serial:
Has anyone used the Mountain Lion diskmaker app?
I figure I need to back everything up before this motherboard crashes and burns, including the operating system.
The reviews for diskmaker seem quite good, but I always feel better with a personal recommendation.
eta: I haven't tried to use it, obviously, but the diskmaker seems to have created the mountain lion boot disk I hoped it would. It took quite a while, but the process was dead easy.
What are the things that the Play store checks for app compatibility? I've had Scrabble on my phone and tablet from Honeycomb through Jellybean, but I can't install it on my Ice Cream Sandwich machine. MY PHONE IS ICE CREAM SANDWICH. I can play the stupid game on my very small phone.
What on an Asus Transformer would be incompatible?
bonny,
did you pay via credit card?
can you file a claim through your credit card company?
Bonnie, it looks like Best Buy is having a 3 day sale that has a lot of computers. Maybe one fits your needs: [link]