Tcsm
2023-09-02 c045bc22bc92aa51b4510daa21d598d84247bc78
1
2
3
4
5
6
7
if (!('currentScript' in document)) {
  Object.defineProperty(document, 'currentScript', { get: window.getCurrentScript })
}
 
if (document.currentScript) {
  document.getElementById('app').textContent = 'It works!'
}