update inbox list
This commit is contained in:
11
vendor/scrivo/highlight.php/test/markup/javascript/class.txt
vendored
Normal file
11
vendor/scrivo/highlight.php/test/markup/javascript/class.txt
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
class Car extends Vehicle {
|
||||
constructor(speed, cost) {
|
||||
super(speed);
|
||||
|
||||
var c = Symbol('cost');
|
||||
this[c] = cost;
|
||||
|
||||
this.intro = `This is a car runs at
|
||||
${speed}.`;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user