beautify 1st part of the tutorial
This commit is contained in:
parent
e3dd2cedc0
commit
6444024a9d
327 changed files with 2358 additions and 1986 deletions
|
@ -3,13 +3,13 @@
|
|||
```js
|
||||
//+ run
|
||||
function makeBuffer() {
|
||||
var text = '';
|
||||
|
||||
var text = '';
|
||||
|
||||
function buffer(piece) {
|
||||
if (arguments.length == 0) { // вызов без аргументов
|
||||
return text;
|
||||
}
|
||||
text += piece;
|
||||
text += piece;
|
||||
};
|
||||
|
||||
buffer.clear = function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue