Chrome Dev Summit is back! Visit goo.gle/cds2021 to secure your spot in workshops, office hours and learning lounges!

All Updates tagged: javascript

Better match results with String.prototype.matchAll()

Chrome 73 introduces the String.prototype.matchAll() method. It behaves similarly to match(), but offers a simple way to iterate over matches, especially when you need access to capture groups.

chrome73 javascript regex

Read article

Loading WebAssembly modules efficiently

When working with WebAssembly, you often want to download a module, compile it, instantiate it, and then use whatever it exports in JavaScript. This post explains our recommended approach for optimal efficiency.

javascript webassembly

Read article

#SmooshGate FAQ

What can #SmooshGate teach us about standards development and the Web Platform? This write-up gives an overview.

javascript

Read article

CSS Paint API

Houdini’s CSS Paint API allows you to programmatically draw CSS images.

css style houdini javascript chrome65

Read article

Upcoming regular expression features

An overview of the exciting new features coming to JavaScript regular expressions, including named captures, the dotAll flag, Unicode property escapes, and lookbehind assertions.

javascript regex

Read article

Introduction to the Budget API

The Budget API allows developers to perform background actions without notifying users, enabling use cases like silent push.

javascript origintrials

Read article

Chromium policy on JavaScript dialogs

Synchronous, app-modal JavaScript dialogs are commonly (and unfortunately) used to harm users. Because of this, the Chromium team highly recommends that you not use JavaScript dialogs.

policy dialog javascript

Read article

Complexities of an Infinite Scroller

Infinite scrollers are a common UI pattern. Here we explore how to implement this pattern in a memory conservative way that performs at 60fps.

javascript css

Read article

Performance Observer: Efficient Access to Performance Data

The W3C Performance Timeline specification defines an interface for browsers to provide programmatic access to low level timing data. This opens the door to some interesting use cases like custom performance analysis, third party tools and more.

performance events chrome52 javascript

Read article

Improving Scroll Performance with Passive Event Listeners

New to Chrome 51, passive event listeners provide a major potential boost to scroll performance.

performance events chrome51 javascript scroll touch

Read article

Introducing ES2015 Proxies

ES2015 Proxies (in Chrome 49 and later) provide JavaScript with an intercession API, enabling us to trap or intercept all of the operations on a target object and modify how this target operates.

javascript es2015 chrome49

Read article

Getting Literal With ES6 Template Strings

Template String literals with embedded expressions. We've been waiting for this for ages. Literally

news es6 javascript ecmascript

Read article

Respond to change with Object.observe

news javascript

Read article

Optimizing JavaScript

news performance javascript

Read article

Subscribe