Created
July 9, 2018 15:10
-
-
Save i-oliva/47e0060eb0ba6603fe1ba763026b2a5a to your computer and use it in GitHub Desktop.
js assignment error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Non finished*/ | |
/* | |
function markdownParser(n){ | |
let occurencesOf# = n.split('#'.length-1); | |
// Select the word that is different from # and ' ' | |
let differentWord; | |
switch(occurences){ | |
case 1: | |
return `<h1> ${differentWord}` | |
break; | |
} | |
} | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment