work.suroh.tk/node_modules/@11ty/eleventy/test/stubs/classfields-data.11ty.js

12 lines
126 B
JavaScript

class Test {
data = {
name: "Ted"
};
render({ name }) {
return `<p>${name}</p>`;
}
}
module.exports = Test;