Skip to content
This repository was archived by the owner on Oct 10, 2026. It is now read-only.

Commit 798edcb

Browse files
author
manuel.depaz
committed
Changing var names
1 parent f097340 commit 798edcb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎P00_CodeSamples/helloWorld_8.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ var message = 'I am writing to inform you of a...';
66

77
var count = 0;
88

9-
addresses.forEach(function(sucker, i) {
9+
addresses.forEach(function(person, i) {
1010
// Attempt to send email.
11-
mail(sucker, 'New opportunity', message, function(err) {
11+
mail(person, 'New opportunity', message, function(err) {
1212
if (!err) {
1313
count++;
1414
}

‎P00_CodeSamples/helloWorld_8.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
$message = 'I am writing to inform you of a...';
1111
$count = 0;
1212

13-
foreach($addresses as $sucker) {
13+
foreach($addresses as $person) {
1414
// Attempt to send email.
15-
if (mail($sucker, 'New opportunity', $message)) {
15+
if (mail($person, 'New opportunity', $message)) {
1616
$count++;
1717
}
1818
}

0 commit comments

Comments
 (0)