Lesson "function 2"

Run Settings
LanguageJavaScript
Language Version
Run Command
let person = {name: "John", age : [1,2,[[5,6,7,8]],3,4], func : () => console.log("function inside object"), }; person.func(); b = person.func; b(); student = {name : "peter", funct: undefined}; student.funct = person.func; student.funct(); person.func = ()=> {console.log("different function")}; person.func(); student.funct();
Editor Settings
Theme
Key bindings
Full width
Lines