Diff
checker
Texte
Texte
Images
Documents
Excel
Dossiers
Legal
Enterprise
Application de bureau
Prix
Se connecter
Télécharger Diffchecker Desktop
Comparer le texte
Trouver la différence entre deux fichiers texte
Outils
Historique
Éditeur live
Cacher identiques
Sans retour à la ligne
Vue
Divisé
Unifié
Niveau de précision
Intelligent
Mot
Caractère
Coloration syntaxique
Choisir la syntaxe
Ignorer
Transformer le texte
Aller au premier écart
Modifier l'entrée
Diffchecker Desktop
La façon la plus sécurisée d'utiliser Diffchecker. Obtenez l'application Diffchecker Desktop : vos diffs ne quittent jamais votre ordinateur !
Obtenir Desktop
IIFE
Créé
il y a 3 ans
Le diff n'expire jamais
Effacer
Exporter
Partager
Expliquer
15 suppressions
Lignes
Total
Supprimé
Caractères
Total
Supprimé
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
10 lignes
Copier tout
17 ajouts
Lignes
Total
Ajouté
Caractères
Total
Ajouté
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
10 lignes
Copier tout
Copier
Copié
Copier
Copié
let
isCuteMixin
= function(
obj
)
{
let
funModule = (() => {
obj.isCute =
function
()
{
return {
return
true;
isCuteMixin
:
obj
=>
{
};
obj.isCute =
()
=>
true;
};
},
let
singMixin
= function(
obj
)
{
singMixin
:
obj
=>
{
obj.sing =
function
()
{
obj.sing =
()
=>
console.log("Singing to an awesome tune");
console.log("Singing to an awesome tune");
}
}
;
}
}
;
})()
;
Différences enregistrées
Texte d'origine
Ouvrir un fichier
let isCuteMixin = function(obj) { obj.isCute = function() { return true; }; }; let singMixin = function(obj) { obj.sing = function() { console.log("Singing to an awesome tune"); }; };
Texte modifié
Ouvrir un fichier
let funModule = (() => { return { isCuteMixin: obj => { obj.isCute = () => true; }, singMixin: obj => { obj.sing = () => console.log("Singing to an awesome tune"); } } })();
Trouver la différence