1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 05:54:12 +01:00

E4X and XML the object are really no more.

This commit is contained in:
Štěpán Němec
2014-07-12 12:57:01 +02:00
parent 412da77667
commit af64ba27db
3 changed files with 11 additions and 52 deletions

View File

@@ -111,8 +111,7 @@ In general: Just look at the existing source code!
Wrong:
for each (let elem in ary)
The exceptions to this rule are for objects with __iterator__ set,
and for XML objects (see README.E4X).
The exceptions to this rule are for objects with __iterator__ set.
* Avoid using 'new' with constructors where possible, and use [] and
{} rather than new Array/new Object.