Changeset 21790 in webkit for trunk/JavaScriptCore/kjs/nodes.cpp
- Timestamp:
- May 25, 2007, 4:50:00 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/nodes.cpp
r21080 r21790 1599 1599 // already declared? - check with getDirect so you can override 1600 1600 // built-in properties of the global object with var declarations. 1601 if (variable->getDirect(ident)) 1601 // Also check for 'arguments' property. The 'arguments' cannot be found with 1602 // getDirect, because it's created lazily by 1603 // ActivationImp::getOwnPropertySlot. 1604 // Since variable declarations are always in function scope, 'variable' 1605 // will always contain instance of ActivationImp and ActivationImp will 1606 // always have 'arguments' property 1607 if (variable->getDirect(ident) || ident == exec->propertyNames().arguments) 1602 1608 return 0; 1603 1609 val = jsUndefined();
Note:
See TracChangeset
for help on using the changeset viewer.