I am currently learning JS, using the JavaScript authoritative guide (Chinese version), learning to find some details of the error, if my mistake, please correct
1.P11------ more. "We call
The original
return MATH.SQRT (A * A + we call B * b);
2.P16------Canvas incorrectly written as Vanvas
The original
The 21st chapter covers the HTML-based <vanvas> tag client API, which is used for drawing arbitrary shapes.
3.P38------"5 for Friday " wrongly written as "5 for Monday"
The original
// =>5: Get Day of the week, 0 stands for Sunday, 5 for Monday
4.P39------var e = "?? "; wrongly written as var e = "E";
The original
var p = "π"; // π by 16-bit internal code 0x03c0 var e = "E"; // E is represented by a 17-bit internal code 0x1d452 P.length // = 1:p contains a 16-bit value e.length // + = 2: e UTF-16 encoded with two 16-bit values: "\UD835\UDC52"
The e referred to here should refer to the natural base??
5.P44------Translation Errors
Original
The Boolean value contains the ToString () method, so you can use this method to convert the string to "true" or "false"
The original English is
Boolean Values has a toString () method, which you can use to convert them to the strings " true"or"false"
should be translated into
The Boolean value contains the ToString () method, so you can use this method to convert the Boolean value to the string "true" or "false"
Some errors in the JavaScript authoritative guide (Chinese version)