May 2018 web platform update
Now widely available on the web platform
Widely available
-
initial: The
initial
keyword resets any CSS property to its initial value as defined by the specification. For example, theinitial
value of thedisplay
property isinline
, regardless of the element being styled. Not to be confused withrevert
, which resets to the user or browser default style. Learn more. -
<template>: The
<template>
HTML element holds HTML fragments which you can clone and insert into the document using JavaScript. Learn more.
Newly available on the web platform
Newly available
-
Array iterators: Arrays are iterable with the
for … of
statement and enumerable with the methodsentries()
,keys()
, andvalues()
. Learn more. -
JavaScript modules: JavaScript modules allow code to be organized into reusable units. Modules use
import
to load other modules andexport
to declare what is available to import from other modules. In HTML, modules are loaded with<script type="module">
. Learn more.