1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/QuYunFeng-share

В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
demo1.html 1.9 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Quyunfeng Отправлено 17.04.2017 17:32 3a962fb
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<script>
// {
// let a = 10;
// var b = 12;
// }
//
// console.log(b);
// console.log(a);
// console.log(foo);
// var foo = 10;
//
// console.log(bar);
// let bar = 11;
// const PI = 36;
// console.log(PI);
// PI = 3;
// const PI;
// const foo = {};
//
// foo.prop = 123;
// console.log(foo.prop);
//
//
// foo = {};
// class Animal {
// constructor(){
// this.type = 'animal';
// }
// says(say){
// console.log(this.type + ' says ' + say);
// }
// }
//
// let animal = new Animal();
// animal.says('hello');
//
// class Cat extends Animal {
// constructor(){
// super();
// this.type = 'cat';
// }
// }
//
// let cat = new Cat();
// cat.says('hello');
// var cat = 'ken';
// var dog = 'lili';
// var zoo = {cat: cat, dog: dog};
// console.log(zoo);
// let cat = 'ken';
// let dog = 'lili';
// let zoo = {cat, dog};
// console.log(zoo);
// let [a, b, c] = [1, 2, 3];
// console.log(a);
// console.log(b);
// console.log(c);
//
// let [x, , y] = [1, 2, 3];
// console.log(x);
// console.log(y);
// function animal(type = 'cat'){
// console.log(type);
// }
// animal();
// animal('cccc');
// function animals(...types){
// console.log(types);
// }
// animals('cat', 'dog', 'fish');
</script>
</body>
</html>

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/QuYunFeng-share.git
git@api.gitlife.ru:oschina-mirror/QuYunFeng-share.git
oschina-mirror
QuYunFeng-share
QuYunFeng-share
master