make sure a solution always shows up, use "demo" if exists
This commit is contained in:
parent
360be9ed99
commit
408ba7d4e4
25 changed files with 59 additions and 95 deletions
|
@ -1,6 +1,5 @@
|
|||
|
||||
|
||||
```js run demo
|
||||
```js run demo solution
|
||||
let calculator = {
|
||||
sum() {
|
||||
return this.a + this.b;
|
||||
|
@ -20,4 +19,3 @@ calculator.read();
|
|||
alert( calculator.sum() );
|
||||
alert( calculator.mul() );
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue