Skip to content

Commit feea697

Browse files
committed
upd
1 parent 211fdc5 commit feea697

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- [Java](./overview/relation/java.md)
1919
- [Event model](./overview/event-model.md)
2020
- [Conditional compilation](./overview/conditional-compilation.md)
21+
- [Clonage](./overview/clonage.md)
2122
- [Scope](./scope.md)
2223
- [Definitions](./definitions.md)
2324
- [Notational conventions](./notational-conventions.md)

src/overview/clonage.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Clonage
2+
3+
The `[object Object].clone()` implementation clones tuples, arrays, maps and sets structurally; for `class` instances, the default implementation requires an *optional* constructor. You may override `clone` for a custom clonage implementation.
4+
5+
```
6+
object.clone()
7+
```

src/property-lookup.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
- *prop* = *prop*.ResolveAlias()
104104
- Call *prop*.Defer() (*if about to defer, implementation may report the cause as unresolved expression in a location*)
105105
- Return *InstanceReferenceValue*(*base*, *prop*)
106+
- *Lookup for the* `Object` *instance definitions*
106107
- Return undefined.
107108
- If *base* is a `package`
108109
- If *localName* is undefined or (*qual* is specified and *qual* is not a namespace nor a *NamespaceConstant*)

0 commit comments

Comments
 (0)