-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
67a92f7
commit e9cf75f
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const fighter = { | ||
name: 'Mig 29', | ||
country: 'Egypt', | ||
speed: 2.25, | ||
speedUnit: 'Mach', | ||
maxAltitude: 65000, | ||
maxAltitudeUnit: 'ft', | ||
operator: 'Egyptian Air Force', | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// if code contain `delete fighter.operator` then isPass = true | ||
if (code.includes("delete fighter.operator")) { | ||
isPass = true; | ||
} else { | ||
isPass = false; | ||
msg = "الله يبارك فيك ركز شوية وحاول مره ثانية" | ||
} |