[webrtc-pc] Pull Request: format & fixup Example code

Jxck has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== format & fixup Example code ==
(same work with https://github.com/w3c/mediacapture-main/pull/486)

cleanup code example in HTML help us understand features more easily.
so I cleanup some code like below.

- format indent
- use basic new feature of ES6^
  - const
  - arrow function
  - async/await
- simplify but save meaning and semantics

if there are some format rule or feature regulation in spec.
please mention me and I'll fix them.

See https://github.com/w3c/webrtc-pc/pull/1618

Received on Thursday, 5 October 2017 02:31:33 UTC