Skip to content

Instantly share code, notes, and snippets.

@i-oliva
Created July 9, 2018 15:10
Show Gist options
  • Save i-oliva/47e0060eb0ba6603fe1ba763026b2a5a to your computer and use it in GitHub Desktop.
Save i-oliva/47e0060eb0ba6603fe1ba763026b2a5a to your computer and use it in GitHub Desktop.
js assignment error
/*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