Matt182/project-lvl1-s69

View on GitHub
src/index-brain.js

Summary

Maintainability
A
0 mins
Test Coverage
import readlineSync from 'readline-sync';

export default () => {
  console.log('Welcome to the Brain Games!\n');
  const name = readlineSync.question('May I have your name? ');
  console.log(`Hello, ${name}!`);
};