General interview questions for a front-end JS developer.
-
What is the spec Javascript implements and what versions of it are you most current with?
-
Does JavaScript support the use of classes?
var translate = function(word) { | |
var array = word.split(''); | |
var vowels = ['a','e','i','o','u']; | |
var newWord = ''; | |
for(var i = 0; i < vowels.length-1; i++) { | |
for(var y = 0; y < word.length-1; y++) { | |
if(word[y] === vowels[i]) { | |
for(var x = y; x < word.length; x++){ | |
newWord = newWord + word[x]; | |
} |
// String utils | |
// | |
// resources: | |
// -- mout, https://github.com/mout/mout/tree/master/src/string | |
/** | |
* "Safer" String.toLowerCase() | |
*/ | |
function lowerCase(str){ | |
return str.toLowerCase(); |
A Pen by Daniel Williams on CodePen.
Collection of projects I'm doing while working through the Free Code Camp full stack web developer certifications.