background preloader


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:  JavascriptJavaScript - General

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. 50 Open Source Tools to Make Your Life Easier The open source community is vibrant, continually growing, and just loves to create applications and tools to make lives easier. Here are 50 of our favorite open source apps that help us do everything from managing pictures on our computer to learning about Jupiter and Mars. Chandler – An information management application for personal use or small group collaboration. Includes integrated calendaring, data organization tools, and allows backup and data sharing via web access. Tomboy – A cross-platform note-taking application packed with features text highlighting, font styling, inline spellchecking, and more. BasKet Note Pads – More than just a note-taking app, BasKet lets you organize in track data in several different ways, import information from other apps, and easily share your notes with others.

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!

42 of the Best Free Linux Scientific Software Science is the effort of trying to understand how the physical world works. From observation and experimentation, science uses physical evidence of natural phenomena to compile data and analyze the collated information. Science really prospers and advances when individuals share the results of their experiments with others in the scientific community. There is a certain logic that scientific software should therefore be released in a freely distributable environment. To provide an insight into the quality of software that is available, we have compiled a list of 42 high quality Linux scientific applications, covering a broad spectrum of uses. There's a mix of graphical and console based applications included.

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.

Create The Ultimate USB Rescue Drive « Not Just A Random Blog Ever been at a friends house and needed to edit a photo, but all they have is MS Paint? Or have you ever been at grandmas and she asks you to remove the hundreds of viruses and spywares (she got from clicking the “You’ve won! Download this for your prize” banners), but she has no anti-spyware software and still on dial-up? Well that’s where a rescue USB drive comes in handy. There are many programs that can be installed and run from a USB drive. JavaScript’s Apply, Call, and Bind Methods are Essential for JavaScript Professionals Prerequisite: — Understand JavaScript’s “this” With Ease, and Master It. — JavaScript Objects — Understand JavaScript Closures (This is an intermediate to advanced topic) Duration: About 40 minutes. Functions are objects in JavaScript, as you should know by now, if you have read any of the prerequisite articles. And as objects, functions have methods, including the powerful Apply, Call, and Bind methods. On the one hand, Apply and Call are nearly identical and are frequently used in JavaScript for borrowing methods and for setting the this value explicitly. We also use Apply for variable-arity functions; you will learn more about this in a bit.

□⚙️ JavaScript Visualized: the JavaScript Engine JavaScript is cool (don't @ me), but how can a machine actually understand the code you've written? As JavaScript devs, we usually don't have to deal with compilers ourselves. However, it's definitely good to know the basics of the JavaScript engine and see how it handles our human-friendly JS code, and turns it into something machines understand! 🥳 | Note: This post is mainly based on the V8 engine used by Node.js and Chromium-based browsers.

Einstein’s Secret to Amazing Problem Solving (and 10 Specific Ways You Can Use It) Einstein is quoted as having said that if he had one hour to save the world he would spend fifty-five minutes defining the problem and only five minutes finding the solution. This quote does illustrate an important point: before jumping right into solving a problem, we should step back and invest time and effort to improve our understanding of it. Here are 10 strategies you can use to see problems from many different perspectives and master what is the most important step in problem solving: clearly defining the problem in the first place! The Problem Is To Know What the Problem Is

Dos and Don’ts in JavaScript A few best practices for when you’re learning the language With every programming language, there’s a list of do’s and don’ts and JavaScript is no exception. Some of these best practices are there for your protection (like always always always using semi-colons!), some to make your code more readable and less error-prone, and some to increase the efficiency of your code. If you search for “best practices JavaScript” you’ll find lots of great information on the topic.

JavaScript Overview and Practice - Savvy Coders The Dev Console is a JavaScript REPL ("Read Evaluate Print Loop") that is just waiting for us to interact with it. Let's give it a try! Remember the DOM? Let's see if we have access to it by typing window.document into the REPL. What's the output?