baseliosebasil
Badges: 1
Rep:
?
#1
Report Thread starter 11 months ago
#1
var rooms = [bridge,lab,canteen,cabin,storage]

initiate();

function lifeSupportCheck() {
for (i=0;i<rooms.length;i++) {
rooms[i];
}
}

lifeSupportCheck();

Anyone know how to add arrays and also:

use the lifeSupportOn() function. You can pass an object into it by placing it inside the brackets. E.g lifeSupportOn(object)
0
reply
A.m.b.e.r
Badges: 3
Rep:
?
#2
Report 8 months ago
#2
Hi, did you manage to figure this out? I'm stuck on the same part.
0
reply
modestarrow1098
Badges: 6
Rep:
?
#3
Report 7 months ago
#3
i managed to find it out but i cant remember the answer
0
reply
tian snipes
Badges: 1
Rep:
?
#4
Report 4 months ago
#4
can anyone help on functions two because if i get it wrong it says this - That's not it. You need use the lifeSupportOn() function. You can pass an object into it by placing it inside the brackets. E.g lifeSupportOn(object)

TRY AGAIN
0
reply
tinyminy13
Badges: 11
Rep:
?
#5
Report 4 months ago
#5
This is the solution:

Name:  Screenshot_2020-07-02 iDEA - The Digital Adventurer Part Two.png
Views: 47
Size:  61.0 KB

P.S. I have also sent an attachment if you can't see it.
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

Should there be a new university admissions system that ditches predicted grades?

No, I think predicted grades should still be used to make offers (711)
33.95%
Yes, I like the idea of applying to uni after I received my grades (PQA) (895)
42.74%
Yes, I like the idea of receiving offers only after I receive my grades (PQO) (395)
18.86%
I think there is a better option than the ones suggested (let us know in the thread!) (93)
4.44%

Watched Threads

View All