background preloader

Mozilla Developer Network

JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat. JavaScript is a prototype-based, multi-paradigm, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles. Read more about JavaScript. This section is dedicated to the JavaScript language itself, and not the parts that are specific to Web pages or other host environments. For information about APIs specific to Web pages, please see Web APIs and DOM. The standard for JavaScript is ECMAScript. Tutorials Learn how to program in JavaScript with guides and tutorials. For complete beginners Head over to our Learning Area JavaScript topic if you want to learn JavaScript but have no previous experience of JavaScript or programming. JavaScript first steps Closures JSBin

Related:  Javascript

Conditional JavaScript for Experts - - Medium Consider the following dummy code snippet for determining the strength of a password: The intent of this code snippet is very simple — check if the password is more than 7 characters long. If it is, then set the strength variable to “Strong”, otherwise set it to “Weak”. The previous code snippet can be shortened to the following: This code snippet does exactly what the previous one does, all in just one line. gource - software version control visualization Gource is a software version control visualization tool. See more of Gource in action on the Videos page. Introduction Software projects are displayed by Gource as an animated tree with the root directory of the project at its centre.

JavaScript Reference This part of the JavaScript section on MDN serves as a repository of facts about the JavaScript language. Read more about this reference. Global objects Compile Scala to JavaScript With Scala.js At the Scala Day last week, Sébastien Doeraene presented Scala.js, a Scala to JavaScript compiler. The compiler supports the full Scala language allowing its users to build web applications front to back in Scala and potentially reuse code between the server and the client. Scala code written for Scala.js can interact with existing JavaScript code either in a dynamically typed manner, or in a statically typed manner. The former is more flexible: access is provided to the global (window) object and arbitrary properties can be accessed and method called. However, this does not leverage the statically typed nature of Scala.

JavaScript Developer Center Yahoo! Language centers have been deprecated. If you have any concerns or questions, please don't hesitate to contact us in General Discussion at YDN forum. Do you eat, sleep and breathe JavaScript? This is your source for information for using JavaScript with Yahoo! The Magic Behind JavaScript Syntax Shortcuts At first glance, JavaScript might seem like a pretty easy and straightforward language to code in. But, the deeper you go, the more you'll realize that that's not true. Apart from the general complexity of its prototype-based model, the language also contains numerous syntactic shortcuts and unpredictable tricks that you have to constantly look out for. Let me show you 4 of them!

Brief git guide Git is handy version control for collaborative development and testing. This guides you briefly through basics to get started. Only terminal usage under GNU / Linux is covered, for graphical user interfaces please refer guides available at web. Note - this was not placed under developer nor testing because it's common for all MeeGo contributors. Concepts JavaScript Guide The JavaScript Guide shows you how to use JavaScript and gives an overview of the language. If you need exhaustive information about a language feature, have a look at the JavaScript reference. This Guide is divided into the following chapters. Introduction

Gallery · mbostock/d3 Wiki Wiki ▸ Gallery Welcome to the D3 gallery! More examples are available for forking on Observable; see D3’s profile and the visualization collection. Please share your work on Observable, or tweet us a link! Visual Index Basic Charts Native HTML5 Drag and Drop Introduction For years, we've been using libraries like JQuery and Dojo to simplify complex UI elements like animations, rounded corners, and drag and drop. There's no doubt, eye-candy is important for making rich, immersive experiences on the web. But why should a library be required for common tasks that all developers are using? Drag and drop (DnD) is a first class citizen in HTML5!

Top 5 JavaScript secrets JavaScript is a very... a very special language. Even when you think you know all its secrets, it can still surprise you. Like most things in this World, not all of JS' secrets are really useful. In fact most of them aren't, as everything not well-known by others only leads to confusion. Using secret tips and tricks can make your code run faster or maybe even be smaller, but it'll certainly degrade its readability, which is bad for all the potential reader of your code - including yourself from the future. But, with this little warning out of the way, there's nothing wrong with knowing these secrets - either to be able to read other's cryptic code, or just to show off.

Git First of all, you'll need to have Git installed on your machine, whether through the support of your IDE, or as a command-line tool. If you want to checkout the source code of Groovy, there are three different URLs you can use. From the command-line, you can use the command: git clone git: ??

Javascript For Beginners - Javascript Training He grew his career with JavaScript “I found this course and found Mark Lassoff very easy to listen to with interesting and easy to follow content. Earlier, I started an Ajax course then realized that I needed a grounding in JavaScript to get the full benefit.

Related:  JavaScriptJavascript