4 changed files with 20 additions and 164 deletions
-
121README.md
-
9chapter1/1.3.0.js
-
31chapter1/1.3.1.js
-
23chapter1/1.3.2.js
@ -1,103 +1,22 @@ |
|||
##### 书名:JavaScript权威指南(第6版) 作者:[美]\(Flanagan, D) |
|||
##### 书名:JavaScript权威指南(第7版) 作者:[美]\(Flanagan, D) |
|||
|
|||
| INDEX | FILE_PATH | COMMIT | |
|||
| ----- | ---------------------------------------------- | ------------------ | |
|||
| 1 | chapter1.1/javascript_types.js | #types | |
|||
| 2 | chapter1.1/javascript_objects.js | #objects | |
|||
| 3 | chapter1.1/javascript_operators.js | #operators | |
|||
| 4 | chapter1.1/javascript_statements.js | #statements | |
|||
| 5 | chapter1.1/javascript_conditional_branching.js | #condi_branch | |
|||
| 6 | chapter1.1/javascript_this.js | #this | |
|||
| 7 | chapter1.2/debug_hide.html | #debut_hide_button | |
|||
| 8 | chapter1.2/javascript_function.js | #function | |
|||
| 9 | chapter1.2/debug_jQuery.js | #debug_jQuery | |
|||
| 10 | chapter1.2/load_function.js | #load_function | |
|||
| 11 | chapter1.2/loan_calculator.html | #loan_calculator | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| | | | |
|||
| INDEX | FILE_PATH | COMMIT | |
|||
| ----- | --------- | ------ | |
|||
| 1 | ~ | ~ | |
|||
| 2 | | | |
|||
| 3 | | | |
|||
| 4 | | | |
|||
| 5 | | | |
|||
| 6 | | | |
|||
| 7 | | | |
|||
| 8 | | | |
|||
| 9 | | | |
|||
| 10 | | | |
|||
| 11 | | | |
|||
| 12 | | | |
|||
| 13 | | | |
|||
| 14 | | | |
|||
| 15 | | | |
|||
| 16 | | | |
|||
| 17 | | | |
|||
|
@ -1,9 +0,0 @@ |
|||
let x; |
|||
x = 0; |
|||
x = 1; |
|||
x = 0.01; |
|||
x = "hello world"; |
|||
x = true; |
|||
x = false; |
|||
x = null; |
|||
x = undefined; |
@ -1,31 +0,0 @@ |
|||
let book = |
|||
{ |
|||
topic: "JavaScript", |
|||
edition: 7 |
|||
}; |
|||
|
|||
book.topic |
|||
book["edition"] |
|||
book.author = "Flanagan"; |
|||
book.contents = {}; |
|||
book.contents?.ch01?.sect1 |
|||
|
|||
let primes = [2,3,5,7]; |
|||
primes[0] |
|||
primes.length |
|||
primes[primes.length-1] |
|||
primes[4] = 9; |
|||
primes[4] = 11; |
|||
let empty = []; |
|||
empty.length |
|||
|
|||
let points = |
|||
[ |
|||
{x:0,y:0}, |
|||
{x:1,y:1} |
|||
]; |
|||
|
|||
let data = { |
|||
trial1: [[1,2],[3,4]], |
|||
trial2: [[2,3],[4,5]] |
|||
}; |
@ -1,23 +0,0 @@ |
|||
points[1].x - points[0].x |
|||
|
|||
let count = 0; |
|||
count++; |
|||
count--; |
|||
count += 2; |
|||
count *= 3; |
|||
count |
|||
|
|||
let x = 2, y = 3; |
|||
x === y |
|||
x !== y |
|||
x < y |
|||
x <= y |
|||
x > y |
|||
x >= y |
|||
"two" === "three" |
|||
"two" > "three" |
|||
false === (x > y) |
|||
|
|||
(x === 2) && (y === 3) |
|||
(x > 3) || (y < 3) |
|||
!(x === y) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue