英[straɪk] 美[straɪk]
vt. Attack; strike (work, class, etc.); hit; come
vi. Strike; strike; move in a certain direction
n.attack; strike [class, city]; discovery
Third person singular: strikes Plural: strikes Present participle: striking Past tense: struck strook Past participle: struck striken
javascript strike() method syntax
Function: Used to display strikethrough strings.
Syntax: stringObject.strike()
javascript strike() method example
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script type="text/javascript"> var str="Hello world!" document.write(str.strike()) </script> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance