This file contains 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
[ | |
{ | |
"id": "ak0216o6axoz", | |
"mag": 1.5, | |
"place": "80 km ESE of Cantwell, Alaska", | |
"time": 1621982821844, | |
"sig": 35, | |
"magType": "ml", | |
"type": "earthquake", | |
"title": "M 1.5 - 80 km ESE of Cantwell, Alaska", |
This file contains 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
# BasedOnStyle: Chromium | |
# UseTab: Always | |
# IndentWidth: 4 | |
# TabWidth: 4 | |
# BreakBeforeBraces: Allman | |
# AllowShortIfStatementsOnASingleLine: false | |
# IndentCaseLabels: false | |
# ColumnLimit: 104 | |
# AccessModifierOffset: -4 | |
# AlignAfterOpenBracket: AlwaysBreak |
This file contains 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
let answer = runTest(); | |
console.log(answer); | |
// do not alter the code below this point | |
function createPoints(randomizedIndex) { | |
var startY = Math.random() * 100; | |
var slope = Math.random(); | |
var points = []; | |
for (var i = 0; i < 10; i++) { | |
var x = Math.random() * 100; |