initial commit

This commit is contained in:
schrom01 2022-10-20 09:00:51 +02:00
commit b5dfdc4cdd
2 changed files with 20 additions and 0 deletions

BIN
praktikum.pdf Normal file

Binary file not shown.

20
repl.txt Normal file
View File

@ -0,0 +1,20 @@
let F = function (n) { this.a = n }
let f = function () { return this.a }
let fs = function () { "use strict"; return this.a }
let value = new F(12)
value.a
f()
fs()
fs.call({ a: 11, b: 22 })
F(99)
a
let obj = Object.create({ f })
obj
obj.a = "yeah"
obj
obj.f()
Object.getOwnPropertyNames(obj)
Object.getOwnPropertyNames(Object.getPrototypeOf(obj))