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:
3
HACKING
3
HACKING
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user