Changeset 239427 in webkit for trunk/Source/JavaScriptCore/tools/JSDollarVM.cpp
- Timestamp:
- Dec 19, 2018, 8:41:11 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/tools/JSDollarVM.cpp
r238162 r239427 446 446 } 447 447 448 std::optional<uint32_t> index = parseIndex(propertyName);448 Optional<uint32_t> index = parseIndex(propertyName); 449 449 if (index && index.value() < thisObject->getLength()) { 450 450 slot.setValue(thisObject, PropertyAttribute::DontDelete | PropertyAttribute::DontEnum, jsNumber(thisObject->m_vector[index.value()]));
Note:
See TracChangeset
for help on using the changeset viewer.