mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
Update class.md
This commit is contained in:
parent
ed283d0207
commit
070985c4a4
@ -74,7 +74,6 @@ class Point {
|
|||||||
// 等同于
|
// 等同于
|
||||||
|
|
||||||
Point.prototype = {
|
Point.prototype = {
|
||||||
constructor(){},
|
|
||||||
toString(){},
|
toString(){},
|
||||||
toValue(){}
|
toValue(){}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user