mirror of
https://github.com/yjs/yjs.git
synced 2025-12-29 00:25:01 +01:00
18 lines
199 B
JavaScript
18 lines
199 B
JavaScript
|
|
'use strict';
|
||
|
|
|
||
|
|
function * aaa (){}
|
||
|
|
|
||
|
|
class X {
|
||
|
|
stuff () {
|
||
|
|
console.log("yay")
|
||
|
|
var r = function * () {
|
||
|
|
yield "dtrn"
|
||
|
|
}
|
||
|
|
var test = r()
|
||
|
|
console.dir(r())
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
(new X).stuff()
|
||
|
|
|