Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title></title>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- </head>
- <body>
- <script type="text/javascript">
- var kata = "tes javascript tes";
- console.log(kata.search('tes'));//0
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment