Skip to content

Instantly share code, notes, and snippets.

View ibsenjg's full-sized avatar

Ibsen Gonzalez ibsenjg

View GitHub Profile
@ibsenjg
ibsenjg / frontEndTest.md
Last active March 3, 2018 01:38
frontEndTest

Question 1

in the next expression

function validateString(str) {
   if (!str.toLowerCase().indexOf('superman') {
   throw new Error('String does not contain superman');
   }    
}