Code · 1 file

Sample Source Map File

A version 3 JavaScript source map with sourcesContent, linking minified code back to the original source for debuggers and error trackers.

Source map · 1.3 KB

JavaScript source map (v3)

A version 3 source map linking sample.min.js back to sample.js, with embedded sourcesContent — for testing stack-trace symbolication and error trackers.

CC0 · free for any use · Verified by an independent tool · Report a problem

sample.min.js.map — first linesJSON
{
  "version": 3,
  "sources": ["sample.js"],
  "sourcesContent": ["// Sample JavaScript module \u2014 samplefiles.com\nexport class Customer {\n  constructor(id, name, balance) {\n    this.id = id;\n    this.name = name;\n    this.balance = balance;\n  }\n\n  get isVip() {\n    return this.balance >= 10_000;\n  }\n}\n\nexport const totalBalance = (customers) => customers.reduce((sum, c) => sum + c.balance, 0);\n\nconst customers = [new Customer(1, 'Ada', 12_500), new Customer(2, 'Grace', 830.5), new Customer(3, 'Linus', 10_000)];\nfor (const c of customers) {\n  console.log(`${c.name.padEnd(6)} ${c.balance.toFixed(2).padStart(10)} ${c.isVip ? 'VIP' : ''}`);\n}\nconsole.log(`Total: ${totalBalance(customers).toFixed(2)}`);\n"],
  "mappings": "AACO,MAAMA,CAAS,CACpB,YAAYC,EAAIC,EAAMC,EAAS,CAC7B,KAAK,GAAKF,EACV,KAAK,KAAOC,EACZ,KAAK,QAAUC,CACjB,CAEA,IAAI,OAAQ,CACV,OAAO,KAAK,SAAW,GACzB,CACF,CAEO,MAAMC,EAAgBC,GAAcA,EAAU,OAAO,CAACC,EAAKC,IAAMD,EAAMC,EAAE,QAAS,CAAC,EAEpFF,EAAY,CAAC,IAAIL,EAAS,EAAG,MAAO,KAAM,EAAG,IAAIA,EAAS,EAAG,QAAS,KAAK,EAAG,IAAIA,EAAS,EAAG,QAAS,GAAM,CAAC,EACpH,UAAWO,KAAKF,EACd,QAAQ,IAAI,GAAGE,EAAE,KAAK,OAAO,CAAC,CAAC,IAAIA,EAAE,QAAQ,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC,IAAIA,EAAE,MAAQ,MAAQ,EAAE,EAAE,EAEhG,QAAQ,IAAI,UAAUH,EAAaC,CAAS,EAAE,QAAQ,CAAC,CAAC,EAAE",
  "names": ["Customer", "id", "name", "balance", "totalBalance", "customers", "sum", "c"]
}

File details

Size
1.3 KB (1,374 bytes)
MIME type
application/json
SHA-256
1372a8cafb6e989da44787b0c98b2757cbb476b2cd3f526dc811edf8c889c56c
MD5
76bf00a83daba5045c1439a7564561b8

Download from the command line

curl -L -o sample.min.js.map https://files.samplefiles.com/code/map/sample.min.js.map

Or check the download in your browser with the checksum calculator.