This file contains hidden or 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
| import { scrabble, chooseRandomTiles } from "."; | |
| describe("Pairing test", () => { | |
| it("runs", () => { | |
| expect(scrabble("guardian")).toBe(10); | |
| }); | |
| it('returns a random set of tiles', () => { | |
| const set1 = chooseRandomTiles(); | |
| const set2 = chooseRandomTiles(); |
This file contains hidden or 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
| # New story whoop | |
| # First go to develop and pull the lastest from remote | |
| git pull --rebase | |
| # create a New branch from develop | |
| git checkout -b feature/my_uber_feature | |
| # build all the things | |
| # looks like there are new shiny things on develop. Lets go get them | |
| git checkout develop | |
| git fetch | |
| git pull --rebase |
This file contains hidden or 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
| // Using Frequency Solution | |
| // function areThereDuplicates() { | |
| // const collection = {}; | |
| // for(let val in arguments){ | |
| // collection[arguments[val]] = (collection[arguments[val]] || 0) + 1 | |
| // } | |
| // for (let key in collection){ | |
| // if(collection[key] > 1) return true; |
This file contains hidden or 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
| button{ | |
| color: #ED652E; | |
| background-color: #999; | |
| }; |
This file contains hidden or 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
| <div id="mikesButtonHole"> | |
| <button id="myButton"> Click Me</button> | |
| </div> |