Ребят почему код не работает?
0
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
<!-- Your custom script here -->
<script type="text/babel">
var beverages = ["coca-cola", "sprite", "pepsi"];
var chocolate = ["twix", "kit-kat", "snicers", "riter srort"];
var food = ["lays", ...beverages, "pringles", ...chocolate];
console.log(food);
function myFunction(x, y, z) {
console.lod(z);
}
var args = [0, 1, 2];
myFunction.apply(null, args);
myFunction(...args);
</script>
</body>
</html>