I watched a YouTube video trying to learn JSON for the first time. This is the example we did during the video, but at '[ I get an Invalid Token error when looking at the console. Sorry for the noob question! Thanks again.
<html>
<head>
    <title>JSON Example</title>
</head>
<body>
    <script type="text/javascript">
        let companies =
        '[
    {
        "name": "Big Corporation",
        "numberOfEmployees": 10000,
        "ceo":  "Mary",
        "rating": 3.6
    },
    {
        "name": "Small Startup",
        "numberOfEmployees": 3,
        "ceo": null,
        "rating": 4.3
    }
]'
    console.log(JSON.parse(companies))
    ((companies)[0].name)
    </script>
</body>
</html>
 
    