Compare commits

..

4 Commits

Author SHA1 Message Date
8209790c8d tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-06-12 12:35:16 +03:00
f7b961d602 tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-06-12 12:33:45 +03:00
c66e6df5da added .editorconfig...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-06-12 12:23:19 +03:00
f41c472453 advanced topics...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-06-12 10:58:05 +03:00
2 changed files with 22 additions and 0 deletions

7
.editorconfig Executable file
View File

@ -0,0 +1,7 @@
root = true
[**]
indent_style = tab
tab_width = 4
charset = utf-8
end_of_line = lf

View File

@ -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...