-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.json
43 lines (43 loc) · 89.7 KB
/
index.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[
{
"slug": "snippets-javascript",
"name": "snippets-javascript",
"description": "A snippet pack to make you more productive working with JavaScript",
"gist": [
{
"default": "https://gist.github.com/Dillon-Xu/943076d6a28867ca9d57434c4255fd6f"
}
],
"repository": "https://github.com/oncework/snippets-javascript",
"screenshots": [
{
"imageUrl": "https://github.com/oncework/snippets-javascript/blob/master/assets/snippets-javascript.png?raw=true"
}
],
"keywords": [
"snippets, javascript"
],
"category": "Snippets",
"icon": "snippets-javascript-icon.png",
"icon32": "snippets-javascript-icon-32.png",
"icon64": "snippets-javascript-icon-64.png",
"icon128": "snippets-javascript-icon-128.png",
"icon256": "snippets-javascript-icon-256.png",
"date": "2019-07-14",
"iconColors": [
"#f4dc4c",
"#fcfbfb",
"#f4e990",
"#f4de68",
"#fcf0b0"
],
"latestRelease": null,
"latestReleaseFetchedAt": "2019-07-14T08:11:25.930Z",
"readmeCleaned": "<div id=\"readme\" class=\"instapaper_body md\" data-path=\"README.md\"><article class=\"markdown-body entry-content p-5\" itemprop=\"text\"><h2><a id=\"user-content-javascript-snippet-pack-for-codeexpander\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#javascript-snippet-pack-for-codeexpander\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>JavaScript Snippet Pack for CodeExpander</h2>\n<p>A snippet pack to make you more productive working with JavaScript.</p>\n<p>This extension ships a bunch of useful code snippets for the JavaScript and TypeScript editors.</p>\n<p>Here's the full list of all the snippets:</p>\n<h2><a id=\"user-content-console\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#console\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>Console</h2>\n<h3><a id=\"user-content-cd-consoledir\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#cd-consoledir\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[cd] console.dir</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">console</span>.<span class=\"pl-c1\">dir</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-ce-consoleerror\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#ce-consoleerror\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[ce] console.error</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">console</span>.<span class=\"pl-c1\">error</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-ci-consoleinfo\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#ci-consoleinfo\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[ci] console.info</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">console</span>.<span class=\"pl-c1\">info</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-cl-consolelog\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#cl-consolelog\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[cl] console.log</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">console</span>.<span class=\"pl-c1\">log</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-cw-consolewarn\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#cw-consolewarn\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[cw] console.warn</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">console</span>.<span class=\"pl-c1\">warn</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-de-debugger\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#de-debugger\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[de] debugger</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">debugger</span>;</pre></div>\n<h2><a id=\"user-content-dom\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#dom\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>DOM</h2>\n<h3><a id=\"user-content-ae-addeventlistener\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#ae-addeventlistener\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[ae] addEventListener</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">addEventListener</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%load<span class=\"pl-pds\">'</span></span>, <span class=\"pl-k\">function</span>(<span class=\"pl-smi\">e</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>\n});</pre></div>\n<h3><a id=\"user-content-ac-appendchild\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#ac-appendchild\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[ac] appendChild</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">appendChild</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>elem);</pre></div>\n<h3><a id=\"user-content-rc-removechild\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#rc-removechild\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[rc] removeChild</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">removeChild</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>elem);</pre></div>\n<h3><a id=\"user-content-cel-createelement\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#cel-createelement\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[cel] createElement</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">createElement</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>elem);</pre></div>\n<h3><a id=\"user-content-cdf-createdocumentfragment\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#cdf-createdocumentfragment\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[cdf] createDocumentFragment</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">createDocumentFragment</span>();</pre></div>\n<h3><a id=\"user-content-ca-classlistadd\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#ca-classlistadd\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[ca] classList.add</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-smi\">classList</span>.<span class=\"pl-c1\">add</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%class<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-ct-classlisttoggle\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#ct-classlisttoggle\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[ct] classList.toggle</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-smi\">classList</span>.<span class=\"pl-c1\">toggle</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%class<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-cr-classlistremove\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#cr-classlistremove\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[cr] classList.remove</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-smi\">classList</span>.<span class=\"pl-c1\">remove</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%class<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-gi-getelementbyid\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#gi-getelementbyid\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[gi] getElementById</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">getElementById</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%id<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-gc-getelementsbyclassname\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#gc-getelementsbyclassname\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[gc] getElementsByClassName</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">getElementsByClassName</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%class<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-gt-getelementsbytagname\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#gt-getelementsbytagname\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[gt] getElementsByTagName</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">getElementsByTagName</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%tag<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-ga-getattribute\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#ga-getattribute\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[ga] getAttribute</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">getAttribute</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%attr<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-sa-setattribute\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#sa-setattribute\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[sa] setAttribute</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">setAttribute</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%attr<span class=\"pl-pds\">'</span></span>, <span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-ra-removeattribute\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#ra-removeattribute\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[ra] removeAttribute</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">removeAttribute</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%attr<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-ih-innerhtml\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#ih-innerhtml\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[ih] innerHTML</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-smi\">innerHTML</span> <span class=\"pl-k\">=</span> <span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%elem<span class=\"pl-pds\">'</span></span>;</pre></div>\n<h3><a id=\"user-content-tc-textcontent\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#tc-textcontent\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[tc] textContent</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-smi\">textContent</span> <span class=\"pl-k\">=</span> <span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%content<span class=\"pl-pds\">'</span></span>;</pre></div>\n<h3><a id=\"user-content-qs-queryselector\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#qs-queryselector\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[qs] querySelector</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">querySelector</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%selector<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-qsa-queryselectorall\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#qsa-queryselectorall\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[qsa] querySelectorAll</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">querySelectorAll</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%selector<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h2><a id=\"user-content-loop\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#loop\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>Loop</h2>\n<h3><a id=\"user-content-fe-foreach\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#fe-foreach\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[fe] forEach</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-smi\">array</span>.<span class=\"pl-c1\">forEach</span>(<span class=\"pl-k\">function</span>(<span class=\"pl-smi\">item</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>\n});</pre></div>\n<h2><a id=\"user-content-function\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#function\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>Function</h2>\n<h3><a id=\"user-content-fn-function\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#fn-function\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[fn] function</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">function</span> %c%<span class=\"pl-en\">methodName</span> (<span class=\"pl-k\">%</span><span class=\"pl-smi\">c</span><span class=\"pl-k\">%</span><span class=\"pl-c1\">arguments</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c\"><span class=\"pl-c\">//</span> body</span>\n}</pre></div>\n<h3><a id=\"user-content-afn-anonymous-function\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#afn-anonymous-function\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[afn] anonymous function</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">function</span>(<span class=\"pl-k\">%</span><span class=\"pl-smi\">c</span><span class=\"pl-k\">%</span><span class=\"pl-c1\">arguments</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c\"><span class=\"pl-c\">//</span> body</span>\n}</pre></div>\n<h3><a id=\"user-content-pr-prototype\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#pr-prototype\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[pr] prototype</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-smi\">object</span>.<span class=\"pl-c1\">prototype</span>.<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-en\">method</span> <span class=\"pl-k\">=</span> <span class=\"pl-k\">function</span>(<span class=\"pl-k\">%</span><span class=\"pl-smi\">c</span><span class=\"pl-k\">%</span><span class=\"pl-c1\">arguments</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c\"><span class=\"pl-c\">//</span> body</span>\n}</pre></div>\n<h3><a id=\"user-content-iife-immediately-invoked-function-expression\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#iife-immediately-invoked-function-expression\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[iife] immediately-invoked function expression</h3>\n<div class=\"highlight highlight-source-js\"><pre>(<span class=\"pl-k\">function</span>(<span class=\"pl-k\">%</span><span class=\"pl-smi\">c</span><span class=\"pl-k\">%</span><span class=\"pl-c1\">window</span>, <span class=\"pl-k\">%</span><span class=\"pl-smi\">c</span><span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c\"><span class=\"pl-c\">//</span> body</span>\n})(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">window</span>, <span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>);</pre></div>\n<h3><a id=\"user-content-call-function-call\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#call-function-call\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[call] function call</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>.<span class=\"pl-c1\">call</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>context, <span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">arguments</span>)</pre></div>\n<h3><a id=\"user-content-apply-function-apply\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#apply-function-apply\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[apply] function apply</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>.<span class=\"pl-c1\">apply</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>context, [<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">arguments</span>])</pre></div>\n<h3><a id=\"user-content-ofn-function-as-a-property-of-an-object\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#ofn-function-as-a-property-of-an-object\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[ofn] function as a property of an object</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-k\">:</span> <span class=\"pl-k\">function</span>(<span class=\"pl-k\">%</span><span class=\"pl-smi\">c</span><span class=\"pl-k\">%</span><span class=\"pl-c1\">arguments</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c\"><span class=\"pl-c\">//</span> body</span>\n}</pre></div>\n<h2><a id=\"user-content-json\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#json\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>JSON</h2>\n<h3><a id=\"user-content-jp-jsonparse\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#jp-jsonparse\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[jp] JSON.parse</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-c1\">JSON</span>.<span class=\"pl-c1\">parse</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-js-jsonstringify\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#js-jsonstringify\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[js] JSON.stringify</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-c1\">JSON</span>.<span class=\"pl-c1\">stringify</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h2><a id=\"user-content-timer\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#timer\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>Timer</h2>\n<h3><a id=\"user-content-si-setinterval\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#si-setinterval\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[si] setInterval</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-c1\">setInterval</span>(<span class=\"pl-k\">function</span>() {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c\"><span class=\"pl-c\">//</span> body</span>\n}, <span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">1000</span>);</pre></div>\n<h3><a id=\"user-content-st-settimeout\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#st-settimeout\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[st] setTimeout</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-c1\">setTimeout</span>(<span class=\"pl-k\">function</span>() {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>\n}, <span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">1000</span>);</pre></div>\n<h2><a id=\"user-content-misc\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#misc\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>Misc</h2>\n<h3><a id=\"user-content-us-use-strict\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#us-use-strict\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[us] use strict</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-s\"><span class=\"pl-pds\">'</span>use strict<span class=\"pl-pds\">'</span></span>;</pre></div>\n<h3><a id=\"user-content-al-alert\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#al-alert\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[al] alert</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">alert</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%msg<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-co-confirm\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#co-confirm\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[co] confirm</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">confirm</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%msg<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-pm-prompt\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#pm-prompt\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>[pm] prompt</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">prompt</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%msg<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h2><a id=\"user-content-license\" class=\"anchor\" aria-hidden=\"true\" href=\"https://github.com/oncework/snippets-javascript/blob/master/#license\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"/></svg></a>License</h2>\n<p><a href=\"https://raw.githubusercontent.com/akamud/vscode-javascript-snippet-pack/master/LICENSE\" rel=\"nofollow\">MIT License</a></p>\n</article></div>",
"readmeOriginal": "<div id=\"readme\" class=\"instapaper_body md\" data-path=\"README.md\"><article class=\"markdown-body entry-content p-5\" itemprop=\"text\"><h2><a id=\"user-content-javascript-snippet-pack-for-codeexpander\" class=\"anchor\" aria-hidden=\"true\" href=\"#javascript-snippet-pack-for-codeexpander\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>JavaScript Snippet Pack for CodeExpander</h2>\n<p>A snippet pack to make you more productive working with JavaScript.</p>\n<p>This extension ships a bunch of useful code snippets for the JavaScript and TypeScript editors.</p>\n<p>Here's the full list of all the snippets:</p>\n<h2><a id=\"user-content-console\" class=\"anchor\" aria-hidden=\"true\" href=\"#console\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Console</h2>\n<h3><a id=\"user-content-cd-consoledir\" class=\"anchor\" aria-hidden=\"true\" href=\"#cd-consoledir\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[cd] console.dir</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">console</span>.<span class=\"pl-c1\">dir</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-ce-consoleerror\" class=\"anchor\" aria-hidden=\"true\" href=\"#ce-consoleerror\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[ce] console.error</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">console</span>.<span class=\"pl-c1\">error</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-ci-consoleinfo\" class=\"anchor\" aria-hidden=\"true\" href=\"#ci-consoleinfo\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[ci] console.info</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">console</span>.<span class=\"pl-c1\">info</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-cl-consolelog\" class=\"anchor\" aria-hidden=\"true\" href=\"#cl-consolelog\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[cl] console.log</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">console</span>.<span class=\"pl-c1\">log</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-cw-consolewarn\" class=\"anchor\" aria-hidden=\"true\" href=\"#cw-consolewarn\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[cw] console.warn</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">console</span>.<span class=\"pl-c1\">warn</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-de-debugger\" class=\"anchor\" aria-hidden=\"true\" href=\"#de-debugger\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[de] debugger</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">debugger</span>;</pre></div>\n<h2><a id=\"user-content-dom\" class=\"anchor\" aria-hidden=\"true\" href=\"#dom\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>DOM</h2>\n<h3><a id=\"user-content-ae-addeventlistener\" class=\"anchor\" aria-hidden=\"true\" href=\"#ae-addeventlistener\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[ae] addEventListener</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">addEventListener</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%load<span class=\"pl-pds\">'</span></span>, <span class=\"pl-k\">function</span>(<span class=\"pl-smi\">e</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>\n});</pre></div>\n<h3><a id=\"user-content-ac-appendchild\" class=\"anchor\" aria-hidden=\"true\" href=\"#ac-appendchild\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[ac] appendChild</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">appendChild</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>elem);</pre></div>\n<h3><a id=\"user-content-rc-removechild\" class=\"anchor\" aria-hidden=\"true\" href=\"#rc-removechild\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[rc] removeChild</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">removeChild</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>elem);</pre></div>\n<h3><a id=\"user-content-cel-createelement\" class=\"anchor\" aria-hidden=\"true\" href=\"#cel-createelement\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[cel] createElement</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">createElement</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>elem);</pre></div>\n<h3><a id=\"user-content-cdf-createdocumentfragment\" class=\"anchor\" aria-hidden=\"true\" href=\"#cdf-createdocumentfragment\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[cdf] createDocumentFragment</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">createDocumentFragment</span>();</pre></div>\n<h3><a id=\"user-content-ca-classlistadd\" class=\"anchor\" aria-hidden=\"true\" href=\"#ca-classlistadd\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[ca] classList.add</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-smi\">classList</span>.<span class=\"pl-c1\">add</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%class<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-ct-classlisttoggle\" class=\"anchor\" aria-hidden=\"true\" href=\"#ct-classlisttoggle\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[ct] classList.toggle</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-smi\">classList</span>.<span class=\"pl-c1\">toggle</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%class<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-cr-classlistremove\" class=\"anchor\" aria-hidden=\"true\" href=\"#cr-classlistremove\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[cr] classList.remove</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-smi\">classList</span>.<span class=\"pl-c1\">remove</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%class<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-gi-getelementbyid\" class=\"anchor\" aria-hidden=\"true\" href=\"#gi-getelementbyid\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[gi] getElementById</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">getElementById</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%id<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-gc-getelementsbyclassname\" class=\"anchor\" aria-hidden=\"true\" href=\"#gc-getelementsbyclassname\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[gc] getElementsByClassName</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">getElementsByClassName</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%class<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-gt-getelementsbytagname\" class=\"anchor\" aria-hidden=\"true\" href=\"#gt-getelementsbytagname\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[gt] getElementsByTagName</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">getElementsByTagName</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%tag<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-ga-getattribute\" class=\"anchor\" aria-hidden=\"true\" href=\"#ga-getattribute\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[ga] getAttribute</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">getAttribute</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%attr<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-sa-setattribute\" class=\"anchor\" aria-hidden=\"true\" href=\"#sa-setattribute\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[sa] setAttribute</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">setAttribute</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%attr<span class=\"pl-pds\">'</span></span>, <span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-ra-removeattribute\" class=\"anchor\" aria-hidden=\"true\" href=\"#ra-removeattribute\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[ra] removeAttribute</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">removeAttribute</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%attr<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-ih-innerhtml\" class=\"anchor\" aria-hidden=\"true\" href=\"#ih-innerhtml\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[ih] innerHTML</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-smi\">innerHTML</span> <span class=\"pl-k\">=</span> <span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%elem<span class=\"pl-pds\">'</span></span>;</pre></div>\n<h3><a id=\"user-content-tc-textcontent\" class=\"anchor\" aria-hidden=\"true\" href=\"#tc-textcontent\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[tc] textContent</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-smi\">textContent</span> <span class=\"pl-k\">=</span> <span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%content<span class=\"pl-pds\">'</span></span>;</pre></div>\n<h3><a id=\"user-content-qs-queryselector\" class=\"anchor\" aria-hidden=\"true\" href=\"#qs-queryselector\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[qs] querySelector</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">querySelector</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%selector<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-qsa-queryselectorall\" class=\"anchor\" aria-hidden=\"true\" href=\"#qsa-queryselectorall\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[qsa] querySelectorAll</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>.<span class=\"pl-c1\">querySelectorAll</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%selector<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h2><a id=\"user-content-loop\" class=\"anchor\" aria-hidden=\"true\" href=\"#loop\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Loop</h2>\n<h3><a id=\"user-content-fe-foreach\" class=\"anchor\" aria-hidden=\"true\" href=\"#fe-foreach\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[fe] forEach</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-smi\">array</span>.<span class=\"pl-c1\">forEach</span>(<span class=\"pl-k\">function</span>(<span class=\"pl-smi\">item</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>\n});</pre></div>\n<h2><a id=\"user-content-function\" class=\"anchor\" aria-hidden=\"true\" href=\"#function\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Function</h2>\n<h3><a id=\"user-content-fn-function\" class=\"anchor\" aria-hidden=\"true\" href=\"#fn-function\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[fn] function</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">function</span> %c%<span class=\"pl-en\">methodName</span> (<span class=\"pl-k\">%</span><span class=\"pl-smi\">c</span><span class=\"pl-k\">%</span><span class=\"pl-c1\">arguments</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c\"><span class=\"pl-c\">//</span> body</span>\n}</pre></div>\n<h3><a id=\"user-content-afn-anonymous-function\" class=\"anchor\" aria-hidden=\"true\" href=\"#afn-anonymous-function\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[afn] anonymous function</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">function</span>(<span class=\"pl-k\">%</span><span class=\"pl-smi\">c</span><span class=\"pl-k\">%</span><span class=\"pl-c1\">arguments</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c\"><span class=\"pl-c\">//</span> body</span>\n}</pre></div>\n<h3><a id=\"user-content-pr-prototype\" class=\"anchor\" aria-hidden=\"true\" href=\"#pr-prototype\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[pr] prototype</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-smi\">object</span>.<span class=\"pl-c1\">prototype</span>.<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-en\">method</span> <span class=\"pl-k\">=</span> <span class=\"pl-k\">function</span>(<span class=\"pl-k\">%</span><span class=\"pl-smi\">c</span><span class=\"pl-k\">%</span><span class=\"pl-c1\">arguments</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c\"><span class=\"pl-c\">//</span> body</span>\n}</pre></div>\n<h3><a id=\"user-content-iife-immediately-invoked-function-expression\" class=\"anchor\" aria-hidden=\"true\" href=\"#iife-immediately-invoked-function-expression\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[iife] immediately-invoked function expression</h3>\n<div class=\"highlight highlight-source-js\"><pre>(<span class=\"pl-k\">function</span>(<span class=\"pl-k\">%</span><span class=\"pl-smi\">c</span><span class=\"pl-k\">%</span><span class=\"pl-c1\">window</span>, <span class=\"pl-k\">%</span><span class=\"pl-smi\">c</span><span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c\"><span class=\"pl-c\">//</span> body</span>\n})(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">window</span>, <span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">document</span>);</pre></div>\n<h3><a id=\"user-content-call-function-call\" class=\"anchor\" aria-hidden=\"true\" href=\"#call-function-call\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[call] function call</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>.<span class=\"pl-c1\">call</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>context, <span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">arguments</span>)</pre></div>\n<h3><a id=\"user-content-apply-function-apply\" class=\"anchor\" aria-hidden=\"true\" href=\"#apply-function-apply\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[apply] function apply</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>.<span class=\"pl-c1\">apply</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>context, [<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">arguments</span>])</pre></div>\n<h3><a id=\"user-content-ofn-function-as-a-property-of-an-object\" class=\"anchor\" aria-hidden=\"true\" href=\"#ofn-function-as-a-property-of-an-object\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[ofn] function as a property of an object</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-k\">:</span> <span class=\"pl-k\">function</span>(<span class=\"pl-k\">%</span><span class=\"pl-smi\">c</span><span class=\"pl-k\">%</span><span class=\"pl-c1\">arguments</span>) {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c\"><span class=\"pl-c\">//</span> body</span>\n}</pre></div>\n<h2><a id=\"user-content-json\" class=\"anchor\" aria-hidden=\"true\" href=\"#json\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>JSON</h2>\n<h3><a id=\"user-content-jp-jsonparse\" class=\"anchor\" aria-hidden=\"true\" href=\"#jp-jsonparse\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[jp] JSON.parse</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-c1\">JSON</span>.<span class=\"pl-c1\">parse</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h3><a id=\"user-content-js-jsonstringify\" class=\"anchor\" aria-hidden=\"true\" href=\"#js-jsonstringify\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[js] JSON.stringify</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-c1\">JSON</span>.<span class=\"pl-c1\">stringify</span>(<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>);</pre></div>\n<h2><a id=\"user-content-timer\" class=\"anchor\" aria-hidden=\"true\" href=\"#timer\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Timer</h2>\n<h3><a id=\"user-content-si-setinterval\" class=\"anchor\" aria-hidden=\"true\" href=\"#si-setinterval\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[si] setInterval</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-c1\">setInterval</span>(<span class=\"pl-k\">function</span>() {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c\"><span class=\"pl-c\">//</span> body</span>\n}, <span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">1000</span>);</pre></div>\n<h3><a id=\"user-content-st-settimeout\" class=\"anchor\" aria-hidden=\"true\" href=\"#st-settimeout\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[st] setTimeout</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-c1\">setTimeout</span>(<span class=\"pl-k\">function</span>() {\n\t<span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span>\n}, <span class=\"pl-k\">%</span>c<span class=\"pl-k\">%</span><span class=\"pl-c1\">1000</span>);</pre></div>\n<h2><a id=\"user-content-misc\" class=\"anchor\" aria-hidden=\"true\" href=\"#misc\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Misc</h2>\n<h3><a id=\"user-content-us-use-strict\" class=\"anchor\" aria-hidden=\"true\" href=\"#us-use-strict\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[us] use strict</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-s\"><span class=\"pl-pds\">'</span>use strict<span class=\"pl-pds\">'</span></span>;</pre></div>\n<h3><a id=\"user-content-al-alert\" class=\"anchor\" aria-hidden=\"true\" href=\"#al-alert\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[al] alert</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">alert</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%msg<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-co-confirm\" class=\"anchor\" aria-hidden=\"true\" href=\"#co-confirm\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[co] confirm</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">confirm</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%msg<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h3><a id=\"user-content-pm-prompt\" class=\"anchor\" aria-hidden=\"true\" href=\"#pm-prompt\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>[pm] prompt</h3>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-en\">prompt</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>%c%msg<span class=\"pl-pds\">'</span></span>);</pre></div>\n<h2><a id=\"user-content-license\" class=\"anchor\" aria-hidden=\"true\" href=\"#license\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>License</h2>\n<p><a href=\"https://raw.githubusercontent.com/akamud/vscode-javascript-snippet-pack/master/LICENSE\" rel=\"nofollow\">MIT License</a></p>\n</article></div>",
"readmeFetchedAt": "2019-07-14T08:11:32.035Z",
"goodColorOnWhite": "#806D05",
"goodColorOnBlack": "#FCF0B0",
"faintColorOnWhite": "rgba(128, 109, 5, 0.1)"
}
]