iDEA badge silver, worker, correct the problematic code pls help

Watch
Moch2
Badges: 10
Rep:
?
#1
Report Thread starter 2 months ago
#1
The code looks like this:

function loadData() {
if ( loggedin == truth ) return data;
}

it says to 'solve the problematic code' AND I HAVE NO IDEA WHAT IM DOING PLS HELP IT GIVES NO HELP AT ALL
0
reply
snowtechie
Badges: 6
Rep:
?
#2
Report 1 month ago
#2
the function load() } is an empty parameter you need to insert a function at load data( here). thanks.
0
reply
BenOwen112
Badges: 1
Rep:
?
#3
Report 1 week ago
#3
(Original post by Moch2)
The code looks like this:

function loadData() {
if ( loggedin == truth ) return data;
}

it says to 'solve the problematic code' AND I HAVE NO IDEA WHAT IM DOING PLS HELP IT GIVES NO HELP AT ALL
change truth to true
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

Feeling behind at school/college? What is the best thing your teachers could to help you catch up?

Extra compulsory independent learning activities (eg, homework tasks) (18)
7.41%
Run extra compulsory lessons or workshops (37)
15.23%
Focus on making the normal lesson time with them as high quality as possible (43)
17.7%
Focus on making the normal learning resources as high quality/accessible as possible (35)
14.4%
Provide extra optional activities, lessons and/or workshops (63)
25.93%
Assess students, decide who needs extra support and focus on these students (47)
19.34%

Watched Threads

View All