{
    "api": "YAML JSON TOON Database",
    "version": "1.0.0",
    "format": "json",
    "dataset": {
        "id": 11,
        "slug": "javascript-es6-features",
        "title": "JavaScript ES6+ Features Reference",
        "description": "Key JavaScript features from ES6 through ES2022: arrow functions, template literals, destructuring, spread, async/await, optional chaining, nullish coalescing, and top-level await.",
        "category": "Programming Languages",
        "category_slug": "programming-languages",
        "tags": "javascript,es6,web,reference",
        "view_count": 0,
        "created_at": 1777673262,
        "updated_at": 1777673262
    },
    "data": {
        "features": [
            {
                "name": "Arrow Functions",
                "version": "ES6 (2015)",
                "description": "Concise function syntax with lexical this binding",
                "example": "const add = (a, b) => a + b;"
            },
            {
                "name": "Template Literals",
                "version": "ES6 (2015)",
                "description": "String interpolation with backticks and ${}",
                "example": "`Hello, ${name}!`"
            },
            {
                "name": "Destructuring",
                "version": "ES6 (2015)",
                "description": "Unpack values from arrays or objects into variables",
                "example": "const {name, age} = person;"
            },
            {
                "name": "Spread Operator",
                "version": "ES6 (2015)",
                "description": "Expand iterables into individual elements",
                "example": "const merged = [...arr1, ...arr2];"
            },
            {
                "name": "Async/Await",
                "version": "ES8 (2017)",
                "description": "Syntactic sugar over Promises for async code",
                "example": "const data = await fetch(url);"
            },
            {
                "name": "Optional Chaining",
                "version": "ES2020",
                "description": "Safe nested property access without null check",
                "example": "user?.profile?.name"
            },
            {
                "name": "Nullish Coalescing",
                "version": "ES2020",
                "description": "Fallback for null/undefined only (not falsy)",
                "example": "const x = value ?? defaultValue;"
            },
            {
                "name": "Top-level Await",
                "version": "ES2022",
                "description": "Use await outside async functions in modules",
                "example": "const config = await loadConfig();"
            }
        ]
    }
}
