JavaScript is a trademark owned by Oracle
tsdr.uspto.gov
tsdr.uspto.gov
However I don't think this trademark is worth anything to Oracle any longer. Trademarks need to be defended or they're lost. This is why Wordpress have strict rules about how themes and related websites cannot contain the name "Wordpress"; and why you often see ridiculous cases about large companies sending scary legal notices to independent enterprises but then quietly settling out of court for token licence fees like £100 a year.
Javascript has long since entered the public domain so I suspect it's too late for Oracle to capitalise on their acquired trademark.
If you're arguing that JavaScript has become genericized - on the basis, presumably, that there are multiple institutions making available various implementations of JavaScript without acknowledging or licensing Oracle's trademark - I'm not sure that's correct, and typically that would only be settled in a legal case. Certainly, Google, for example, publishes V8 and describes it as a "JavaScript Engine" - and makes no trademark acknowledgement toward Oracle that I can see; if Oracle wanted to they could probably attempt to enforce their trademark rights there. Mozilla, who distribute SpiderMonkey as a "JavaScript Engine", acknowledge the trademark (though they still attribute it to Sun). Oracle's failure to continually distribute any product which makes use of their trademark might count against them, but if they wished to argue that Mozilla has continually exercised Netscape's exclusive right to use the trademark, they might be able to get a sympathetic judge to rule Google out of order for claiming V8 is 'JavaScript'. Without a legal ruling, the situation's not clearcut.
That is, "generic usage" refers to things like people using "a kleenex" to refer to any facial tissue or "a xerox" to refer to any mimeograph. However, when people say "JavaScript", they always mean the exact same JavaScript: the one Oracle owns.
(It could be argued that they mean ECMAscript—but that's a bit like saying that people who say "pass me a coke" when what they have available are cans of no-name generic cola (with trade-dress explicitly reminiscent of Coca-Cola's, no less) are actually thinking they want any generic cola, rather than that they want a Coca-Cola and that the can you have to offer is merely an adequate stand-in.
Wikipedia lists "Coke" among marks that, while still protected, are often used generically: http://en.wikipedia.org/wiki/List_of_generic_and_genericized...
I think many marks on that list, including coke, could very well lose their status if someone were to bother to fight the legal battle.
Technically correct because by the definition that Wikipedia gives (http://en.wikipedia.org/wiki/Public_domain), non-enforcement of a trademark could lead to forfeit of the rights on that trademark, and that is one of the options mentioned in the definition.
But not idiomatic because the term is much more commonly used in copyright, rather than trademark, where it has a very specific legal meaning. A copyrighted work enters the public domain when the copyright expires (or in old cases, if the owner failed to renew the copyright).
It's one of a long list of Java-related trademarks originally registered by Sun:
https://web.archive.org/web/20100528154600/http://www.sun.co...
Maybe Sun originally intended it to be the name of a Java-related product, and when Netscape invented JavaScript, they found out too late that the name had already been trademarked by Sun, so they licensed the trademark from Sun instead of changing the name? I'm just guessing. Does anyone know the real history?
Although it was developed under the name Mocha, the language was officially called LiveScript when it first shipped in beta releases of Netscape Navigator 2.0 in September 1995, but it was renamed JavaScript when it was deployed in the Netscape browser version 2.0B3.
The change of name from LiveScript to JavaScript roughly coincided with Netscape adding support for Java technology in its Netscape Navigator web browser. The final choice of name caused confusion, giving the impression that the language was a spin-off of the Java programming language, and the choice has been characterized as a marketing ploy by Netscape to give JavaScript the cachet of what was then the hot new web programming language.
It was a marketing thing.
As Java was a trademark by Sun, they obviously had to register JavaSript as well (if they hadn't already done so - I did not look up the timeline, but it's not really relevant to the argument). Getting a license from Sun made it possible for Netscape to use the name without the Java trademark becoming diluted. Remember, if you don't defend your trademark, you'll lose it.
I'm not sure what exactly happened, but at some time after or during the lifetime of IE9 they stopped referring to their dialect of ECMAScript as "JScript" and began calling it "JavaScript". The most recent stuff I can find about JScript is about JScript.NET, which seems to be discontinued.
There's this issue filed on the Mozilla project back in 2000 that addresses this problem: https://bugzilla.mozilla.org/show_bug.cgi?id=44841
As Google, Apple and Microsoft are openly using the JavaScript trademark (without marking it as a trademark) these days, I'm going to go out on a limb here and guess that it's okay to use the term "JavaScript" to refer to an ECMAScript implementation that is compatible with the original JavaScript language developed by Netscape. This would probably preclude Adobe's ActionScript and other "enhanced" flavours of ES (e.g. JSX? I've never seen Facebook refer to JSX as "JavaScript <something>" in a way that would imply JSX is simply JavaScript).
Apparently LiveScript was also originally planned to be more Lisp-like but then they went with C-like syntax because that was more popular at the time (see Java). And the entire language was cobbled together in a ridiculously short time frame (something like a couple of weeks?) and intended to be "beginner friendly", which is where a lot of the language's quirks come from.
Considering the original JS already contained the syntax Crockford would eventually define as JSON, you could say they managed to create not one but two languages at once. Say what you will about JS being a good language or not, but you have to respect that achievement.
Considering JS only became ECMAScript because Netscape was scared of incompatible copycats, you could argue JS as it is today wouldn't exist without Microsoft, too. Strange world, eh?
No, the original version of JavaScript did not include object literals and array literals - the two foundations of JSON.
Object and array literals were introduced in JavaScript 1.2:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_...
This is why old-school JavaScript programming had so much code like this:
var obj = new Object;
obj.prop = 'value';
and: var ary = new Array;
ary[0] = 'first';
ary[1] = 'second';I created JS1.2 and SpiderMonkey in fall 1996, as described in that JS Jabber podcast. Find this part in the transcript:
"I started to rewrite the VM, pay off technical debt, and I wrote what became SpiderMonkey. The original Mocha VM was not SpiderMonkey."
Object and array initialiser syntax was inspired by Python of the time (1996 would be Python 1.x, x around 6 IINM), but I made property names literals when spelled without quotes, as identifiers (same as the implicitly quoted name on the right of dot in member expressions).
In ES6 (in imitation of computed property access using square brackets) you can finally compute property names in object initialisers too:
var obj = { [nameExpr]: valueExpr };
Of course, the web community embraced Shockwave/Flash over Java, and Java retreated to the server and mobile. Later, Steve Jobs was famously unimpressed with Macromedia/Adobe's forays into mobile and refused to ship a Flash interpretter in iOS. This led to the decline of Flash and a rising interest in creating a rich stack for client-side applications in JavaScript, bringing us to today's stack (canvas, WebGL, web audio, WebRTC, Ember/Angular/React, web components, pnacl/asm, etc.).
In an enlightened moment, (probably) Marc Andreessen proposed renaming LiveScript to JavaScript (despite the fact that the languages have very little in common), and joy was had. Sun got the JavaScript trademark (and passed it on to Oracle), and Netscape got a perpetual exclusive license to use it.
When JavaScript was standardized to avoid Embrace, Extend, Extinguish, Netscape refused to share its license, and so the official language was renamed to ECMAScript, after the standards body. When Sun was bought by Oracle, it also got the trademark, and presumably, Mozilla inherited the exclusive license from Netscape.
_____
They might as well have standardized it under the trademarked name, though. It seems that anything can be called JavaScript as long as it adheres to the spec (although strictly speaking Mozilla's JavaScript is versioned independently and the term "JavaScript" usually describes a superset of ECMAScript).
[1] http://javascriptjabber.com/124-jsj-the-origin-of-javascript...
"ECMAScript was always an unwanted trade name that sounds like a skin disease." - Brendan Eich [1]
1. https://mail.mozilla.org/pipermail/es-discuss/2006-October/0...
Ecmascript and not E C M A script. Which makes it as easy to pronounce as JavaScript.
Is anyone pronouncing it like that?
Edit: After writing that I thought back, and now I do remember one time when somebody called the language ECMAScript when they weren't referring to the ECMA standard. I think this was the exception that proves the rule!
[1] https://plus.google.com/u/0/+ChuckMcManis/posts/hdvbvWCvbuY
http://docs.unity3d.com/Manual/CreatingAndUsingScripts.html
In other places they call it JavaScript:
http://docs.unity3d.com/ScriptReference/
And in the Unity Editor when you use the Add Component / New Script, they call it "Java Script"!
Everyone would be better served if Unity would call it UnityScript consistently, since as you mentioned, their language isn't JavaScript but is a fairly loose adaptation of it. It's more of a JavaScript-like language than real JavaScript.
In other words, I can call a fountain pen a biro and that shows that the trademark has become generic, it doesn't matter that I'm technically wrong.
This is how it works in Commonwealth jurisdictions anyway, haven't checked US law for about a year.
A: Want a coke?
B: Yes, a 7-up please.
(Or at least, it wouldn't raise eyebrows for the implication that a 7-up is a kind of coke.)How is Coca-Cola dealing with this? Do they have a policy or a strategy?
I also like the JS logo and its variations. I'm assuming Oracle could lay no claim to that . . .
Mostly this is because we no longer care about JavaScript version numbers (I facepalmed when I saw a dropdown in JetBrains' WebStorm IDE that offered various "JavaScript 1.x" options as the language environment). Instead we only care about "ES 3", "ES 5" (i.e. ECMAScript 5.1) and "ES 6" (which frequently also refers to ES 7 and beyond). At the same time I see less and less references to "Harmony", probably because the spec that came out of it is now openly using a real version number.
Of course the irony here is that what people often think of as "JS" these days is not actually Mozilla's JavaScript implementation but that of V8, as used in Chrome, node.js and other places (probably because V8 is relatively painless to embed).
/troll /rant