Yahoo Answers is shutting down on 4 May 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Best resources and way to learn javascript?

Update:

I have moderate experience programing in a strange mix of languages, various assemblers, tcl, unix scripts, C# but I'm somewhat rusty and out of the scene. I thought it would fun to learn another language, especially one where it doesn't need lots of special installed stuff to run. Also, I'm somewhat reluctant to spend money. I could maybe stretch to one book.

3 Answers

Relevance
  • Anonymous
    2 years ago

    How to ask a question?

  • 2 years ago

    My background includes a lot of assembly, too. I learned JS from Powell's "JavaScript: The Complete Reference", but that was 15+ years ago and I don't know if that has been revised to cover new features.

    The online "tutorial" sites are probably good enough to get you started, though. Look at tutorialspoint.com, codecademy.com, w3schools.com and others, if you like web tutorials. For more of a reference written for grownups, I like the Mozilla Developer Network. (Mozilla is the remains of Netscape Inc., which invented the language and gave it the awful ripoff name "JavaScript". JS has less in common with Java than it does with, say, Python.) Their JS tutorial and references are pretty good, though:

    https://developer.mozilla.org/en-US/docs/Web/JavaS...

    Good luck with this. JavaScript is a quirky language. There are just four primitive data types that I can think of: number, string, boolean, undefined. The number data type is equivalent to a C# double and that's the only type of number supported.

    Everything else is an object. An array is a special type of object that acts as both an indexed ("normal") array and an associative array (like a hashmap), and can be a combination of both!

    All typing is dynamic, typical for a scripting language, so there are no function overloads. A function that accepts different data types must determine for itself what kind of arguments it's been given. With arrays, that can be difficult.

    It's a good language to know how to use, though. As you noted, you can run it anywhere that has a text editor and a browser.

  • Bill-M
    Lv 7
    2 years ago

    www.w3schools.com is a good place to start. HTML/CSS and JavaScript.

Still have questions? Get answers by asking now.