coding is fun

  • coding is fun,  linh ta linh tinh

    Learn Javascript with Exercism

    It’s really funny ^^ 00. Hello World! Write a function that returns the string “Hello, World!”. Run the test suite and make sure that it succeeds. Submit your solution and check it at the website. // hello-world.js export const hello = () => ('Hello, World!'); 01. Two Fer If the given name is “Alice”, the result should be “One for Alice, one for me.” If no name is given, the result should be “One for you, one for me.” // two-fer.js export const twoFer = (name) => { if (name === '') { return ('One for you, one for me.'); } return (`One for ${name}, one for me.`); }; 02.…