About 150,000 results
Open links in new tab
  1. What's the difference between JavaScript and Java?

    Oct 29, 2008 · JavaScript is an object-oriented scripting language that allows you to create dynamic HTML pages, allowing you to process input data and maintain data, usually within the browser. Java is a programming language, core set of libraries, and virtual machine platform that allows you to create compiled programs that run on nearly every platform, without distribution of source code in its raw form ...

  2. Which equals operator (== vs ===) should be used in JavaScript ...

    Dec 11, 2008 · I'm using JSLint to go through JavaScript, and it's returning many suggestions to replace == (two equals signs) with === (three equals signs) when doing things like comparing idSele_UNVEHtype.value.

  3. Differences in regex patterns between JavaScript and Java?

    Dec 25, 2011 · However, while it works fine in JavaScript it doesn't find any matches in Java, even for the same input string. Do I need to change something in the pattern, or what's going on?

  4. How fast is Javascript compared to Java? - Stack Overflow

    Sep 16, 2010 · The Javascript-based server is able to calc through 2.4k trades/sec whereas the Java server handles 400+/sec on the same hardware using less memory. I wouldn't attribute the speed increase to raw V8 vs. Java 7 performance but rather to the implementation.

  5. Difference between == and === in JavaScript - Stack Overflow

    Feb 7, 2009 · What is the difference between == and === in JavaScript? I have also seen != and !== operators. Are there more such operators?

  6. What is the difference between != and !== operators in JavaScript?

    Dec 11, 2009 · What is the difference between the !== operator and the != operator in JavaScript? Does it behave similarly to the === operator where it compares both value and type?

  7. Difference between classes in Java vs JavaScript?

    Jul 5, 2017 · The only scope that has a variable myString is the one within the constructor function, and that scope is unreachable from repeatString. Classes in JavaScript are radically different (here's an overview) than Java, even though the syntax looks very similar.

  8. Which has higher performance java or javascript?

    Sep 24, 2010 · Since now javascript gets compiled to machine code by browsers. I was wondering which programming language gets better performance between java and javascript. I'm thinking of writing a 3d browse...

  9. javascript with webdriverjs or java with selenium-webdriver?

    Sep 27, 2014 · Our selenium library of choice is WebDriverJs (case sensitive) aka selenium-webdriver on npm which is the official JavaScript port. One of the main reasons that we went with selenium-webdriver is code readability and the ability to achieve sync-like syntax out of the box to keep Java test engineers in mind.

  10. Difference in results between Java matches vs JavaScript match

    In JavaScript, String.match looks for a partial match. In Java, Pattern.matches returns true if the whole input string is matched by the given pattern. That is equivalent to say, in your example, that "iraq" should match ^q$, which it obvious doesn't.

Refresh