Skip to content

Instantly share code, notes, and snippets.

View Bridgette88's full-sized avatar

Bridgette Andrade Bridgette88

View GitHub Profile
@desinas
desinas / index.js
Last active December 12, 2023 20:17
JavaScript intro to functions Mocha tested by Flatiron School, learn.co
// describe('shout(string)', function() {
// it('receives one argument and returns it in all caps', function() {
// expect(shout('hello')).toEqual('HELLO')
// })
// })
function shout (aWord) {
return aWord.toUpperCase( );
}
// describe('whisper(string)', function() {