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
// ================================================================================ | |
// You will be writing a series of functions beneath each block of comments below. | |
// Tackle each function one at a time. You may move on to a new exercise and return | |
// later. Run the code and the console to the right will tell you if your function | |
// is successfully passing the tests. | |
// ================================================================================ | |
/* | |
Define a function named `kmToMiles` that receives one parameter: |
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
repl.it | |
ImmersionTechEval | |
Complete as many exercises as you can in the allotted time. | |
// ================================================================================ | |
// You will be writing a series of functions beneath each block of comments below. | |
// Tackle each function one at a time. You may move on to a new exercise and return | |
// later. Run the code and the console to the right will tell you if your function | |
// is successfully passing the tests. | |
// ================================================================================ |
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
// ================================================================================ | |
// You will be writing a series of functions beneath each block of comments below. | |
// Tackle each function one at a time. You may move on to a new exercise and return | |
// later. Run the code and the console to the right will tell you if your function | |
// is successfully passing the tests. | |
// ================================================================================ | |
/* | |
Define a function named `kmToMiles` that receives one parameter: |
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
repl.it | |
ei-eval-retake | |
// ===================================================== | |
// 1. | |
// Write a function called `doubleIt` which accepts a `num` | |
// parameter (type: number) and returns double the provided number | |
// Test #1 | |
const result1 = doubleIt(10); | |
console.log(result1); // => 20 |
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
// ================================================================================ | |
// You will be writing a series of functions beneath each block of comments below. | |
// Tackle each function one at a time. You may move on to a new exercise and return | |
// later. Run the code and the console to the right will tell you if your function | |
// is successfully passing the tests. | |
// ================================================================================ | |
/* | |
Define a function named `kmToMiles` that receives one parameter: |
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
// ================================================================================ | |
// You will be writing a series of functions beneath each block of comments below. | |
// Tackle each function one at a time. You may move on to a new exercise and return | |
// later. Run the code and the console to the right will tell you if your function | |
// is successfully passing the tests. | |
// ================================================================================ | |
/* | |
Define a function named `kmToMiles` that receives one parameter: |
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
// ================================================================================ | |
// You will be writing a series of functions beneath each block of comments below. | |
// Tackle each function one at a time. You may move on to a new exercise and return | |
// later. Run the code and the console to the right will tell you if your function | |
// is successfully passing the tests. | |
// ================================================================================ | |
/* | |
Define a function named `kmToMiles` that receives one parameter: |
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
// ================================================================================ | |
// You will be writing a series of functions beneath each block of comments below. | |
// Tackle each function one at a time. You may move on to a new exercise and return | |
// later. Run the code and the console to the right will tell you if your function | |
// is successfully passing the tests. | |
// ================================================================================ | |
/* | |
Define a function named `kmToMiles` that receives one parameter: |
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
// ================================================================================ | |
// You will be writing a series of functions beneath each block of comments below. | |
// Tackle each function one at a time. You may move on to a new exercise and return | |
// later. Run the code and the console to the right will tell you if your function | |
// is successfully passing the tests. | |
// ================================================================================ | |
/* | |
Define a function named `kmToMiles` that receives one parameter: |
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
const express = require('express') | |
const http = require('http') | |
const passport = require('passport') | |
const session = require('express-session') | |
const cors = require('cors') | |
const socketio = require('socket.io') | |
const { Strategy: TwitterStrategy } = require('passport-twitter') | |
// Private api keys that you will get when registering an app on | |
// apps.twitter.com |