{
    "path": "/home/krm/dev/mimer-academia/programing/js/functional/Questions/scope.sv.json",
    "s": "Ignor",
    "invert": true,
    "level": 1,
    "title": [
        "Scope"
    ],
    "author": [
        "krm"
    ],
    "created": {
        "year": 2023,
        "month": 10,
        "day": 12
    },
    "status": "alpha",
    "description": [
        "Ange värdet på utrycket nedan."
    ],
    "statments": [],
    "comment": [],
    "cards": [
        {
            "level": 1,
            "index": 1,
            "exactly": true,
            "title": [
                "let x=1; {let x = 0}; x"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "1"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 2,
            "exactly": true,
            "title": [
                "let x=1; {x = 0}; x"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "0"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 3,
            "exactly": true,
            "title": [
                "let x=2;let y = 3; {let x = 5; y=7}; x*y"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "14"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 4,
            "exactly": true,
            "title": [
                "let y = \"Hello!\"; {let x = \"Bye!\";}; x"
            ],
            "description": [],
            "statments": [
                {
                    "description": [
                        "Uncaught ReferenceError: x is not defined"
                    ]
                }
            ],
            "comment": [],
            "kind": "question"
        },
        {
            "level": 1,
            "title": [
                "🪧 Vi leker med funktioner"
            ],
            "description": [],
            "lang": "js",
            "code": "let count = 1;\nlet summa = 10;\nif(summa === 10){\ncount++;\nlet summa = count;  \n}",
            "statments": [],
            "comment": [],
            "cards": [
                {
                    "level": 2,
                    "index": 5,
                    "exactly": true,
                    "title": [
                        "count"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "2"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 6,
                    "exactly": true,
                    "title": [
                        "summa"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "10"
                            ]
                        }
                    ],
                    "comment": []
                }
            ],
            "kind": "question"
        },
        {
            "level": 1,
            "title": [
                "🪧 Vi leker med funktioner"
            ],
            "description": [],
            "lang": "js",
            "code": "let count = 1;\nlet summa = 10;\nfor(let i =0; i < 3;i++){\nlet count=2*i;\nsumma += count;  \n}",
            "statments": [],
            "comment": [],
            "cards": [
                {
                    "level": 2,
                    "index": 7,
                    "exactly": true,
                    "title": [
                        "count"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "1"
                            ]
                        }
                    ],
                    "comment": []
                },
                {
                    "level": 2,
                    "index": 8,
                    "exactly": true,
                    "title": [
                        "summa"
                    ],
                    "description": [],
                    "statments": [
                        {
                            "description": [
                                "16"
                            ]
                        }
                    ],
                    "comment": []
                }
            ],
            "kind": "question"
        },
        {
            "level": 1,
            "index": 9,
            "reflection": true,
            "title": [
                "Förklara med egna ord vad som menas med en varaibales \"scope\"?."
            ],
            "description": [],
            "statments": [],
            "comment": [],
            "kind": "question"
        }
    ],
    "kind": "questions"
}