hello.js

var please = require('share');
console.log('thank you');

NEW !!!

Monday, 7 October, 2019 UTC

JavaScript Canvas - Image Processing

You can use Canvas to draw new graphics or you can load existing images and process them at the pixel level. In this extract from a chapter in my new book on JavaScript Graphics we look at how it works. ... more


Thursday, 3 October, 2019 UTC

Node Version Manager For Node.js Released

The OpenJS Foundation has announced that Node Version Manager (nvm), has been taken in as a project by the foundation. Nvm is a POSIX-compliant bash script to manage multiple active Node.js versions. ... more


Monday, 16 September, 2019 UTC

JavaScript Canvas - OffscreenCanvas

OffscreenCanvas is relatively new but it can make your graphics smooth without blocking the UI thread. In this extract from a chapter in my new book on JavaScript Graphics we look at how it works. ... more


Thursday, 5 September, 2019 UTC

Static TypeScript Launched

Researchers from Microsoft have shown off Static TypeScript (STS), a subset of TypeScript aimed at use on embedded programming platforms. ... more


Thursday, 5 September, 2019 UTC

JavaScript Data Structures - The Linked List

JavaScript may not have pointers but it has everything you need to construct sophisticated data structures if you think about things in the right way. In this article we implement a classical linked list structure. ... more


Friday, 30 August, 2019 UTC

TypeScript 3.6 Generators Get Stricter

TypeScript has been updated with stricter generators, improvements to the UX around Promises, and an improved TypeScript playground. TypeScript is a superset of JavaScript that adds optional static types which can be checked by the TypeScript compiler ... more


Monday, 19 August, 2019 UTC

JavaScript Async - DoEvents & Microtasks

DoEvents is generally regarded as a construct to be avoided. Like many such feared ideas it is only to be feared if you don't understand it. Correctly used it can be a simplification. This extract from my recently published book JavaScript Async: Events ... more


Tuesday, 13 August, 2019 UTC

React 16.5 Adds Programmatic Profiler

There's a new release of React with improvements including an asynchronous testing utility, a programmatic profiler, and an updated roadmap. ... more


Monday, 12 August, 2019 UTC

Google JavaScript Engine Speeds JSON Parsing

The latest update of V8, Google's JavaScript engine, has been released in beta prior to its final release in coordination with Chrome 76 Stable in several weeks. This version, 7.6, speeds up JSON parsing and adds support for native stack walking. ... more


Monday, 29 July, 2019 UTC

Just JavaScript - Execution Context

Closures are logical but subtle and you need to make sure that you really understand them. This is made easier if you think about a closure as a preserved execution context. In this extract from my recent book the emphasis is on when functions share ... more


Tuesday, 23 July, 2019 UTC

Next.js Adds Built-In Zero-Config TypeScript Support

Next.js version 9 has been released with built-in support for zero-config TypeScript, along with automatic static optimization and API routes. Next.js is a toolkit for universal, server-rendered (or statically pre-rendered) React.js applications. ... more


Monday, 22 July, 2019 UTC

NativeScript 6 Goes Webpack All The Way

NativeScript 6.0 has been released with more support for Webpack and faster delivery of patches. ... more


Monday, 15 July, 2019 UTC

Babel Adds Ability To Parse F# Like Pipelines

The latest version of JavaScript compiler Babel 7.5 has been released with the ability to parse and transpile F# and similar pipelines. Support has also been added for dynamic imports, as well as experimental support for TypeScript namespaces. ... more


Tuesday, 2 July, 2019 UTC

JavaScript Q&A - Extend Your Knowledge

A set of multiple choice JavaScript questions to test (and expand) your knowledge is available on GitHub. The questions range from basic to advanced. ... more


Thursday, 27 June, 2019 UTC

Google Earth In The Browser With WebAssembly

WebAssembly is about the most exciting thing going on at the moment and is certain to be the next big thing - if it isn't already. Now Google has demonstrated what is possible by porting Earth to the browser in WebAssembly. ... more


Thursday, 13 June, 2019 UTC

The Confusing Comma In JavaScript

Not every comma in JavaScript is an operator - in fact most of them aren't. It is time to confront the confusing comma. ... more


Thursday, 6 June, 2019 UTC

TypeScript 3.5 Adds Smart Select

TypeScript 3.5 has been released with faster type-checking and incremental builds, as well as smart select when expanding text selections in the editor. ... more


Friday, 31 May, 2019 UTC

Jobs Need More Than JavaScript

JavaScript is one of the top programming languages required for employment. However, employers are usually looking for a combination of skills. Find out what else you should add to your resume to land your next JavaScript job. ... more


Thursday, 30 May, 2019 UTC

Angular 8 Adds Default Differential Loading

The new release of Angular is here, with improvements to the framework, Angular Material, and the CLI designed to improve application startup time on modern browsers. There are also new APIs to let developers make better use of the CLI. ... more


Thursday, 23 May, 2019 UTC

JavaScript Jems - Objects with Values

Sometimes it is useful for an object to have a default value so that it can be used in an expression such as object+1 and object+"hello world". In JavaScript this is really easy and it is an important general principle. ... more


Tuesday, 14 May, 2019 UTC

Microsoft's Reactive Native For Windows

At Build last week, Microsoft announced a new open-source project for React Native developers wanting to target Windows and Windows developers wanting to climb aboard the React Native bandwagon. React Native for Windows is on GitHub under a MIT License. ... more


Monday, 6 May, 2019 UTC

JavaScript Async - Cache

The cache API is closely associated with Progressive Web Apps but it can be used in any JavaScript program to good effect. This extract from my recently published book JavaScript Async: Events Callbacks, Promises & Async/Await explains how promises ... more


Thursday, 18 April, 2019 UTC

Javascript Jems - Self Modifying Code

Javascript, being an interpreted language, can modify its own code as it runs. Self-modifying code can be dangerous but you should know about it and how it works. If you would like to experiment, read on. ... more


Tuesday, 16 April, 2019 UTC

Starting To Oust Sizzle From jQuery

jQuery 3.4.0 has just been released. It is the last minor release on the 3.x branch and in preparation for the removal of the Sizzle selector engine from the next major release, jQuery 4.0, it deprecates Sizzle's, non-standard, positional selectors. ... more


Monday, 1 April, 2019 UTC

Babel Adds Smart Pipelines

Babel has been updated with support for smart pipelines and private instant accessors. The JavaScript compiler takes JavaScript ECMAScript 2015+ code and converts it into a backwards compatible version to run in older browsers. ... more


Monday, 25 March, 2019 UTC

Just JavaScript - Object Factories

Object creation is fundamental to all object-oriented languages, but in JavaScript it is left to the programmer to work out how best to do it, and often the practice that you encounter isn't the best because it's borrowed from other languages. In this ... more


Thursday, 21 March, 2019 UTC

Homepage For JavaScript Standards Launched

Ecma TC39, the JavaScript Standards Committee, has launched a website for following updates to the JavaScript specification. The idea is to make it easier to find info and documentation on updates to the JavaScript spec. ... more


Tuesday, 19 March, 2019 UTC

Functional Programming Patterns With RamdaJS

An interactive course on Educative's platform exploring the underlying principles of FP in Javascript with aid of the small RambdaJS library. ... more


Wednesday, 13 March, 2019 UTC

The JavaScript Standard Library

One of the problems with JavaScript is that there is no standard library as there is in other languages. This means that we have to download everything we need and not just the "extras". This is all about to change with a proposal to have browsers ... more


Wednesday, 13 March, 2019 UTC

OpenJS Foundation - New Merged Foundation For JavaScript

The plan to merge the the Node.js Foundation and the JS Foundation has materialized. The new OpenJS Foundation has been formed to serve the JavaScript community and promote collaboration across the JavaScript ecosystem. ... more