Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

Method Reference page title

In some languages, this may be called a function.

Page table of contents

  • Links to subheadings within this article for ease of access

  • Backlink to Parent object {for methods only}

Summary

Brief summary. A few sentences at most.

Syntax

New ObjectName(param1, param2, ...) Syntax prototype should not have syntax-coloring, because it’s not meant to be executed.

Parameters

param1
definition of param1
param2
definition of param2

Return values

val
definition of val

Description/Remarks

Longer description, multiple paragraphs.

(Arbitrary subheading)

More explanation.

(Examples)

Explanatory text about examples

(Example subheading)

Example pages/Common elements#Code_block

Normative documents

Example pages/Common elements#Normative_documents

Browser compatibility

Example pages/Common elements#Browser_compatibility

(See also)

Example pages/Common elements#See_also