mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 12:49:09 +02:00
pas2js: hide $shared in sets
git-svn-id: trunk@40143 -
This commit is contained in:
parent
0cd85d73e4
commit
05243a2de6
7
utils/pas2js/dist/rtl.js
vendored
7
utils/pas2js/dist/rtl.js
vendored
@ -853,7 +853,12 @@ var rtl = {
|
||||
},
|
||||
|
||||
refSet: function(s){
|
||||
s.$shared = true;
|
||||
Object.defineProperty(s, '$shared', {
|
||||
enumerable: false,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
value: true
|
||||
});
|
||||
return s;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user