makeRunOn
- Makes the given paragraph a run-on sentence by replacing periods with commas. Does not replace the last. (Which makes sense if you think about it.)totalScore
- sums the scores from everylevel
object in the given list. If amultiplier
parameter is passed as the second parameter, the total is multiplied by it. If a thirdbonus
parameter is present, that is added as well, but not multiplied.nightOwls
- filters the list to return the objects whose propertyasleep
is false and whoselocalTime
is between100
and400
inclusive. It should not modify the original array. BEWARE: putting a 0 at the start of a number does NOT do what you think it does--it actually makes it an octal number!--so don't put the numbers in full 24-hour-clock format (i.e., 0100 for 1am and 0200 for 2am). You probably weren't going to anyway, but... let's not make that why we fail this question.getToBed
- returns a new list where every person object in the given list whoselocalTime
is between100
and400
inclusive has theirasleep
property set to true. Does not mutate the original list. See warning about starting the number with 0 from previous problem's description.findIndices
- a function that takes a list and another function (a callback) as parameters and returns a new list holding the indices of the list at which, when the corresponding element is passed into the callback function, it returnstrue
. (See the test for precise examples!)Faqtory
- a factory function that returns an object with methods for managing a FAQ list. It contains an array of questions set to empty to start with, anaddQuestion
method for adding questions to the list, and ananswerQuestion
method for answering those questions that have yet to be answered. See tests for details. NOTE: the questions being added are objects. Making a helper function that returns a question object may be worth it, but either way, make sure those questions are objects! HINT theid
of a new question can be set by looking at how many questions are already in the list.
2020-05-finals's Introduction
2020-05-finals's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.