{
    "path": "/home/krm/dev/mimer-academia/programing/js/objects/Questions/this.sv.json",
    "s": "Ignor",
    "invert": true,
    "level": 1,
    "title": [
        "This"
    ],
    "author": [
        "krm"
    ],
    "created": {
        "year": 2023,
        "month": 10,
        "day": 10
    },
    "status": "alpha",
    "description": [
        "Ange värdet på utrycket nedan."
    ],
    "statments": [],
    "comment": [],
    "cards": [
        {
            "level": 1,
            "index": 1,
            "exactly": true,
            "title": [
                "this"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "Window"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 2,
            "exactly": true,
            "title": [
                "this.title"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "undefined"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "title": [
                "🪧 Vi leker med funktioner"
            ],
            "description": [],
            "lang": "js",
            "code": "let of = {\nx: 1,\ny: 1,\nadd: function(x,y) {\nreturn this.x+this.y;\n},\nmult: function(x,y) {\nreturn this.x*this.y;\n}\n}",
            "statments": [],
            "comment": [],
            "cards": [
                {
                    "level": 2,
                    "index": 3,
                    "exactly": true,
                    "title": [
                        "of.add()"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "2"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 4,
                    "exactly": true,
                    "title": [
                        "of.mult()"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "1"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 5,
                    "exactly": true,
                    "title": [
                        "of.x=2;of.add()"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "3"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 6,
                    "exactly": true,
                    "title": [
                        "of.x=3;of.y=5;of.mult()"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "15"
                            ]
                        }
                    ],
                    "comment": []
                }
            ],
            "kind": "question"
        },
        {
            "level": 1,
            "title": [
                "🪧 Vi leker mer med funktioner"
            ],
            "description": [],
            "lang": "js",
            "code": "let of = {\nstart: 1,\nindex: 1,\nstep: 1,\nset: function(start) {\nthis.start = start\nthis.reset();\nreturn this;\n},\nnext: function() {\nthis.index = this.index + this.step;\nreturn this;\n},\nreset: function() {\nthis.index = this.start;\nreturn this;\n},\nvalue: function() {\nreturn this.index;\n}\n}",
            "statments": [],
            "comment": [],
            "cards": [
                {
                    "level": 2,
                    "index": 9,
                    "exactly": true,
                    "title": [
                        "of.value()"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "1"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 10,
                    "exactly": true,
                    "title": [
                        "of.next().next().value()"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "3"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 11,
                    "exactly": true,
                    "title": [
                        "of.set(5).next().next().value();"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "7"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 12,
                    "exactly": true,
                    "title": [
                        "of.set(5).next().next().reset().next().value()"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "6"
                            ]
                        }
                    ],
                    "comment": []
                }
            ],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 13,
            "reflection": true,
            "title": [
                "Vad menas med *this* i js kod?"
            ],
            "description": [],
            "statments": [],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 14,
            "reflection": true,
            "title": [
                "Vad används objektet *this* till?"
            ],
            "description": [],
            "statments": [],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 15,
            "reflection": true,
            "title": [
                "Från vilket objekt kommer *this* få sin egenskaper?"
            ],
            "description": [],
            "statments": [],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 16,
            "reflection": true,
            "title": [
                "Vad gör metoden \"Object.call\"?"
            ],
            "description": [],
            "statments": [],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 17,
            "reflection": true,
            "title": [
                "Ge ett exempel när det kan vara bra att använda *this*."
            ],
            "description": [],
            "statments": [],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 18,
            "reflection": true,
            "title": [
                "Vilka problem kan uppstå  när man använder parametern *this*?"
            ],
            "description": [],
            "statments": [],
            "comment": [],
            "kind": "question"
        }
    ],
    "kind": "questions"
}