| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 2 | 1 | 0.970 | IfStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 162 | Closure/closure/goog/crypt/base64.js |
| 2 | 2 | 181 | Closure/closure/goog/crypt/base64.js |
| ||||
// Shortcut for Mozilla browsers that implement
// a native base64 encoder in the form of "btoa/atob"
if (typeof goog.global.btoa== 'function'
&& !opt_webSafe) {
return goog.global.btoa(input);
}
|
| ||||
// Shortcut for Mozilla browsers that implement
// a native base64 encoder in the form of "btoa/atob"
if (typeof goog.global.atob== 'function'
&& !opt_webSafe) {
return goog.global.atob(input);
}
|
| |||
// Shortcut for Mozilla browsers that implement
// a native base64 encoder in the form of "btoa/atob"
if (typeof goog.global. [[#variable2156b540]]=='function'
&& !opt_webSafe)
{ return goog.global. [[#variable2156b540]](input);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#2156b540]] | atob |
| 1 | 2 | [[#2156b540]] | btoa |