js lec 1 added

This commit is contained in:
2026-01-03 13:40:15 +10:00
parent b0d3fa1ecf
commit b2bc0651ec
18 changed files with 150 additions and 58 deletions

View File

@@ -0,0 +1,3 @@
function extractText(html){
return html.split("<p>").filter(substr => substr.includes("</p>")).map(substr = substr.split("</p>")[0]);
}