Skip to content

HTML ➡️ Markdown: Web/JavaScript/Reference/Global_Objects/Array #5589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

Gregoor
Copy link
Contributor

@Gregoor Gregoor commented Jun 2, 2021

Spin-off of #5193

Deployer changes to make large PRs like that one previewable are still under discussion, so I went small in the meantime.

Conversion Report

Report from 6/2/2021, 4:29:27 PM

Top 20 unhandled elements

  • code (24)
  • tr (18)
  • th[scope="row"] (18)
  • table.standard-table (2)
  • table (2)
  • table.fullwidth-table.standard-table (1)
  • var (1)

Details per Document

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Array

Invalid AST transformations

code (32:7) => text
type: "element"
tagName: "em"
properties: 

children: 
  type: "text"
  value: "N"

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/concat

Invalid AST transformations

code (34:7) => text
type: "element"
tagName: "em"
properties: 

children: 
  type: "text"
  value: "N"
code (36:5) => text
type: "element"
tagName: "em"
properties: 

children: 
  type: "text"
  value: "N"

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/every

Invalid AST transformations

code (119:8) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "callbackfn"

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/fill

Invalid AST transformations

code (49:69) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "start"
code (50:67) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "end"

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach

Invalid AST transformations

code (165:8) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "fun"

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from

Invalid AST transformations

code (73:5) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "obj"
code (75:8) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "obj"
code (191:9) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "callback"

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes

Invalid AST transformations

code (50:5) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "arr"
code (99:3) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "arr"

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array

Missing conversion rules

  • table.fullwidth-table.standard-table (210:1)

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/join

Invalid AST transformations

code (42:48) => text
type: "element"
tagName: "em"
properties: 

children: 
  type: "text"
  value: "arr"

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/of

Invalid AST transformations

code (45:7) => text
type: "element"
tagName: "em"
properties: 

children: 
  type: "text"
  value: "N"

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/push

Invalid AST transformations

code (32:7) => text
type: "element"
tagName: "em"
properties: 

children: 
  type: "text"
  value: "N"

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce

Invalid AST transformations

tr (181:5) => tableRow
type: "html"
value: "<th scope=\"row\">first call</th>"
tr (189:5) => tableRow
type: "html"
value: "<th scope=\"row\">second call</th>"
tr (197:5) => tableRow
type: "html"
value: "<th scope=\"row\">third call</th>"
tr (205:5) => tableRow
type: "html"
value: "<th scope=\"row\">fourth call</th>"
table.standard-table (169:1) => table
type: "html"
value: "<tr><th scope=\"row\">first call</th><td><code>0</code></td><td><code>1</code></td><td><code>1</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>1</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">second call</th><td><code>1</code></td><td><code>2</code></td><td><code>2</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>3</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">third call</th><td><code>3</code></td><td><code>3</code></td><td><code>3</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>6</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">fourth call</th><td><code>6</code></td><td><code>4</code></td><td><code>4</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>10</code></td></tr>"
tr (246:5) => tableRow
type: "html"
value: "<th scope=\"row\">first call</th>"
tr (254:5) => tableRow
type: "html"
value: "<th scope=\"row\">second call</th>"
tr (262:5) => tableRow
type: "html"
value: "<th scope=\"row\">third call</th>"
tr (270:5) => tableRow
type: "html"
value: "<th scope=\"row\">fourth call</th>"
tr (278:5) => tableRow
type: "html"
value: "<th scope=\"row\">fifth call</th>"
table.standard-table (234:1) => table
type: "html"
value: "<tr><th scope=\"row\">first call</th><td><code>10</code></td><td><code>0</code></td><td><code>0</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>10</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">second call</th><td><code>10</code></td><td><code>1</code></td><td><code>1</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>11</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">third call</th><td><code>11</code></td><td><code>2</code></td><td><code>2</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>13</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">fourth call</th><td><code>13</code></td><td><code>3</code></td><td><code>3</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>16</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">fifth call</th><td><code>16</code></td><td><code>4</code></td><td><code>4</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>20</code></td></tr>"

Missing conversion rules

  • var (71:39)
  • th[scope="row"] (182:7)
  • th[scope="row"] (190:7)
  • th[scope="row"] (198:7)
  • th[scope="row"] (206:7)
  • th[scope="row"] (247:7)
  • th[scope="row"] (255:7)
  • th[scope="row"] (263:7)
  • th[scope="row"] (271:7)
  • th[scope="row"] (279:7)

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/ReduceRight

Invalid AST transformations

tr (125:5) => tableRow
type: "html"
value: "<th scope=\"row\">first call</th>"
tr (133:5) => tableRow
type: "html"
value: "<th scope=\"row\">second call</th>"
tr (141:5) => tableRow
type: "html"
value: "<th scope=\"row\">third call</th>"
tr (149:5) => tableRow
type: "html"
value: "<th scope=\"row\">fourth call</th>"
table (113:1) => table
type: "html"
value: "<tr><th scope=\"row\">first call</th><td><code>4</code></td><td><code>3</code></td><td><code>3</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>7</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">second call</th><td><code>7</code></td><td><code>2</code></td><td><code>2</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>9</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">third call</th><td><code>9</code></td><td><code>1</code></td><td><code>1</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>10</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">fourth call</th><td><code>10</code></td><td><code>0</code></td><td><code>0</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>10</code></td></tr>"
tr (183:5) => tableRow
type: "html"
value: "<th scope=\"row\">first call</th>"
tr (191:5) => tableRow
type: "html"
value: "<th scope=\"row\">second call</th>"
tr (199:5) => tableRow
type: "html"
value: "<th scope=\"row\">third call</th>"
tr (207:5) => tableRow
type: "html"
value: "<th scope=\"row\">fourth call</th>"
tr (215:5) => tableRow
type: "html"
value: "<th scope=\"row\">fifth call</th>"
table (171:1) => table
type: "html"
value: "<tr><th scope=\"row\">first call</th><td><code>10</code></td><td><code>4</code></td><td><code>4</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>14</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">second call</th><td><code>14</code></td><td><code>3</code></td><td><code>3</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>17</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">third call</th><td><code>17</code></td><td><code>2</code></td><td><code>2</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>19</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">fourth call</th><td><code>19</code></td><td><code>1</code></td><td><code>1</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>20</code></td></tr>",type: "html"
value: "<tr><th scope=\"row\">fifth call</th><td><code>20</code></td><td><code>0</code></td><td><code>0</code></td><td><code>[0, 1, 2, 3, 4]</code></td><td><code>20</code></td></tr>"

Missing conversion rules

  • th[scope="row"] (126:7)
  • th[scope="row"] (134:7)
  • th[scope="row"] (142:7)
  • th[scope="row"] (150:7)
  • th[scope="row"] (184:7)
  • th[scope="row"] (192:7)
  • th[scope="row"] (200:7)
  • th[scope="row"] (208:7)
  • th[scope="row"] (216:7)

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice

Invalid AST transformations

code (53:26) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "arr"
code (56:6) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "arr"

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some

Invalid AST transformations

code (115:8) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "fun"

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice

Invalid AST transformations

code (44:47) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "n"
code (46:21) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "array"
code (47:5) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "array"
code (55:17) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "array"
code (62:7) => text
type: "element"
tagName: "var"
properties: 

children: 
  type: "text"
  value: "item1"

/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/unshift

Invalid AST transformations

code (31:7) => text
type: "element"
tagName: "em"
properties: 

children: 
  type: "text"
  value: "N"

@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2021

Preview URLs

Flaws

Note! 46 documents with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toLocaleString
Title: Array.prototype.toLocaleString()
on GitHub
Flaw count: 2

  • macros:
    • /en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat redirects to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
    • /en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat redirects to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat

URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/entries
Title: Array.prototype.entries()
on GitHub
Flaw count: 1

  • heading_links:
    • h3 heading contains an <a> tag

External URLs

URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array
Title: Array
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Array
Title: Array() constructor
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach
Title: Array.prototype.forEach()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter
Title: Array.prototype.filter()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at
Title: Array.prototype.at()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes
Title: Array.prototype.includes()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find
Title: Array.prototype.find()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/length
Title: Array.prototype.length
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce
Title: Array.prototype.reduce()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flatMap
Title: Array.prototype.flatMap()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice
Title: Array.prototype.splice()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toSource
Title: Array.prototype.toSource()
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flat
Title: Array.prototype.flat()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toLocaleString
Title: Array.prototype.toLocaleString()
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map
Title: Array.prototype.map()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf
Title: Array.prototype.lastIndexOf()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/@@species
Title: get Array[@@species]
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/shift
Title: Array.prototype.shift()
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/copyWithin
Title: Array.prototype.copyWithin()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex
Title: Array.prototype.findIndex()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/push
Title: Array.prototype.push()
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/entries
Title: Array.prototype.entries()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray
Title: Array.isArray()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf
Title: Array.prototype.indexOf()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
Title: Array.prototype.sort()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/@@iterator
Title: Array.prototype[@@iterator]()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/values
Title: Array.prototype.values()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toString
Title: Array.prototype.toString()
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/pop
Title: Array.prototype.pop()
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/every
Title: Array.prototype.every()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice
Title: Array.prototype.slice()
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reverse
Title: Array.prototype.reverse()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/fill
Title: Array.prototype.fill()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/ReduceRight
Title: Array.prototype.reduceRight()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/of
Title: Array.of()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some
Title: Array.prototype.some()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from
Title: Array.from()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/@@unscopables
Title: Array.prototype[@@unscopables]
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/unshift
Title: Array.prototype.unshift()
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/concat
Title: Array.prototype.concat()
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/join
Title: Array.prototype.join()
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/keys
Title: Array.prototype.keys()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Title: ArrayBuffer
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/byteLength
Title: ArrayBuffer.prototype.byteLength
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/@@species
Title: get ArrayBuffer[@@species]
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/slice
Title: ArrayBuffer.prototype.slice()
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView
Title: ArrayBuffer.isView()
on GitHub

No new external URLs


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/ArrayBuffer
Title: ArrayBuffer() constructor
on GitHub

(this comment was updated 2021-06-02 14:35:43.997010)

@Gregoor
Copy link
Contributor Author

Gregoor commented Jun 4, 2021

We've got a deploy in #5193 now, so I am closing this one!

@Gregoor Gregoor closed this Jun 4, 2021
@Josh-Cena Josh-Cena deleted the h2m-js-array branch July 7, 2022 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant