Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Commonmark migration
Source Link

#JavaScript (ES6) + HTML, (削除) 77 (削除ここまで) 74 bytes

JavaScript (ES6) + HTML, (削除) 77 (削除ここまで) 74 bytes

f=c=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[~~c])
<input id=o

##Try It

Try It

(f=c=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[~~c]))()
<input id=o>

#JavaScript (ES6) + HTML, (削除) 77 (削除ここまで) 74 bytes

f=c=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[~~c])
<input id=o

##Try It

(f=c=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[~~c]))()
<input id=o>

JavaScript (ES6) + HTML, (削除) 77 (削除ここまで) 74 bytes

f=c=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[~~c])
<input id=o

Try It

(f=c=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[~~c]))()
<input id=o>

added 69 characters in body
Source Link
Shaggy
  • 45k
  • 4
  • 39
  • 95

#JavaScript (ES6) + HTML, 77(削除) 77 (削除ここまで) 74 bytes

f=(c=0)=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[c])
<input id=o>
f=c=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[~~c])
<input id=o

##Try It

(f=(c=0)=>setTimeoutf=c=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[c]\\"[~~c]))()
<input id=o>

#JavaScript (ES6) + HTML, 77 bytes

f=(c=0)=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[c])
<input id=o>

##Try It

(f=(c=0)=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[c]))()
<input id=o>

#JavaScript (ES6) + HTML, (削除) 77 (削除ここまで) 74 bytes

f=c=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[~~c])
<input id=o

##Try It

(f=c=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[~~c]))()
<input id=o>

edited body
Source Link
Shaggy
  • 45k
  • 4
  • 39
  • 95

#JavaScript (ES6) + HTML, 77 bytes

f=(c=0)=>setTimeout(f,250,-~c%4,o.innerText="Loadingvalue="Loading... "+"|/-\\"[c])
<p<input id=o>

##Try It

(f=(c=0)=>setTimeout(f,250,-~c%4,o.innerText="Loadingvalue="Loading... "+"|/-\\"[c]))()
<p<input id=o>

#JavaScript (ES6) + HTML, 77 bytes

f=(c=0)=>setTimeout(f,250,-~c%4,o.innerText="Loading... "+"|/-\\"[c])
<p id=o>

##Try It

(f=(c=0)=>setTimeout(f,250,-~c%4,o.innerText="Loading... "+"|/-\\"[c]))()
<p id=o>

#JavaScript (ES6) + HTML, 77 bytes

f=(c=0)=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[c])
<input id=o>

##Try It

(f=(c=0)=>setTimeout(f,250,-~c%4,o.value="Loading... "+"|/-\\"[c]))()
<input id=o>

Source Link
Shaggy
  • 45k
  • 4
  • 39
  • 95
Loading

AltStyle によって変換されたページ (->オリジナル) /