Content deleted Content added
m Reverting possible edit test by 65.255.37.137. False positive? Please report it. |
|||
Line 112:
; object based: JavaScript is almost entirely [[object-based]]. JavaScript [[Object (computer science)|objects]] are [[associative array]]s, augmented with prototypes (see below). Object property names are string keys: <code>obj.x = 10</code> and <code>obj['x'] = 10</code> are equivalent, the dot notation being [[syntactic sugar]]. Properties and their values can be added, changed, or deleted at run-time. Most properties of an object (and those on its prototype inheritance chain) can be enumerated using a <code>for...in</code> loop. JavaScript has a small number of built-in objects such as <code>Function</code> and <code>Date</code>.
; run-time evaluation: JavaScript includes an <code>[[eval]]</code> function that can execute statements provided as strings at run-time.
===Functional===
|