We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
result
Score
1 parent 20b234e commit 10aa4f7Copy full SHA for 10aa4f7
src/index.js
@@ -10,7 +10,7 @@ export class Scorer {
10
}
11
12
execute() {
13
- let result = 0;
+ this._result = 0;
14
let healthLevel = 0;
15
let highMedicalRiskFlag = false;
16
@@ -22,12 +22,12 @@ export class Scorer {
22
let certificationGrade = 'regular';
23
if (this._scoringGuide.stateWithLowCertification(this._candidate.originState)) {
24
certificationGrade = 'low';
25
- result -= 5;
+ this._result -= 5;
26
27
28
// lots more code like this
29
- result -= Math.max(healthLevel - 5, 0);
+ this._result -= Math.max(healthLevel - 5, 0);
30
31
- return result;
+ return this._result;
32
33
0 commit comments