VueJS lekcja 1

This commit is contained in:
aplikacje committed 2026-10-12 14:33:23 +02:00
1 parent 11eb98f6b7
commit e66b5ebc22
602 files changed
+63992

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
'use strict';
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
var hasSymbolSham = require('./shams');
/** @type {import('.')} */
module.exports = function hasNativeSymbols() {
if (typeof origSymbol !== 'function') { return false; }
if (typeof Symbol !== 'function') { return false; }
if (typeof origSymbol('foo') !== 'symbol') { return false; }
if (typeof Symbol('bar') !== 'symbol') { return false; }
return hasSymbolSham();
};