JSFiddle - React, Tailwind, and code Playground

by Qwerty_Wasd

HTML

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
</head>
<body>
    <script>
        let sum = Symbol("Description");
 
        let obj = {
            a: 1,
            b: 2,
            c: 3,
        };
 
        obj[sum] = function () {
            for (let key in this) {
                console.log(this[key]);
            }
        };
 
        obj[sum]();
    </script>
</body>
</html>