mirror of
https://github.com/flynx/Course-JavaScript.git
synced 2025-10-29 19:10:09 +00:00
Compare commits
4 Commits
ebfcf0b573
...
8209790c8d
| Author | SHA1 | Date | |
|---|---|---|---|
| 8209790c8d | |||
| f7b961d602 | |||
| c66e6df5da | |||
| f41c472453 |
7
.editorconfig
Executable file
7
.editorconfig
Executable file
@ -0,0 +1,7 @@
|
||||
root = true
|
||||
|
||||
[**]
|
||||
indent_style = tab
|
||||
tab_width = 4
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
@ -173,6 +173,21 @@
|
||||
// Extending builtin types
|
||||
//
|
||||
|
||||
// Mixing builtin types
|
||||
//
|
||||
// In general this is impossible in JavaScript due to the lack of any
|
||||
// mechanism of horizontal name resolution in the inheritance chain like
|
||||
// multiple inheritance (hence why we call it a chain and not a tree).
|
||||
//
|
||||
// So there is no way, for example, to make something both an array and
|
||||
// a function at the same time.
|
||||
//
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// XXX Reflect.construct(Function, args, newConstructor)
|
||||
// mainly usefull if the resulting instance has to be of a builtin
|
||||
// type like a function (callable) or an array...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user