ran npm run tdd
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
module.exports = createElement = str => {
|
||||
const createElement = str => {
|
||||
const el = document.createElement('div');
|
||||
el.innerHTML = str;
|
||||
return el.firstElementChild;
|
||||
};
|
||||
};
|
||||
module.exports = createElement
|
||||
Reference in New Issue
Block a user