Skip to content

Commit 01b2d07

Browse files
author
Brook Riggio
committed
Prefer links to MDN over w3schools.
1 parent 938413d commit 01b2d07

3 files changed

+8
-4
lines changed

23-arrayPropertiesAndMethods.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@
3333
document.write(transportation.length + '<br>');
3434
document.write(transportation[5] + '<br>');
3535

36-
// See all properties and methods or an array
37-
// http://www.w3schools.com/jsref/jsref_obj_array.asp
36+
/*
37+
See all properties and methods or an array
38+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array
39+
and
40+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/prototype#Methods
41+
*/
3842

3943
// The join method - converts an array to a string
4044

24-mathObjects.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
document.write('Your random number is ' + randomNumber + '<br>');
5757

5858
// For a full list of math methods
59-
// http://www.w3schools.com/jsref/jsref_obj_math.asp
59+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math
6060

6161
</script>
6262

25-dateObject.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
setInterval('printTime()', 1000);
3232

3333
// All the date object methods
34-
// http://www.w3schools.com/jsref/jsref_obj_date.asp
34+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
3535

3636

3737
</script>

0 commit comments

Comments
 (0)