* Fix Get/Set being enumerable fixes #3610 * fix tests Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
27 lines
536 B
TypeScript
27 lines
536 B
TypeScript
// @target: ES5
|
|
|
|
class GetSetEnumerableClassGet {
|
|
get prop() { return true;}
|
|
}
|
|
|
|
class GetSetEnumerableClassSet {
|
|
set prop(value: boolean) { }
|
|
}
|
|
|
|
class GetSetEnumerableClassGetSet {
|
|
get prop() { return true;}
|
|
set prop(value: boolean) { }
|
|
}
|
|
|
|
const GetSetEnumerableObjectGet = {
|
|
get prop() { return true; }
|
|
};
|
|
|
|
const GetSetEnumerableObjectSet = {
|
|
set prop(value: boolean) { }
|
|
};
|
|
|
|
const GetSetEnumerableObjectGetSet = {
|
|
get prop() { return true; },
|
|
set prop(value: boolean) { }
|
|
};
|