This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "attach", | |
"name": "Attach to master", | |
"port": 5858, | |
"skipFiles": [ | |
"node_modules/**/*.js", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const str = 'I love Tamagochi' | |
const input = str.split('') | |
function reverseWords (input) { | |
const length = input.length | |
let offset = 0 | |
let lastSpaceIndex = 0 | |
do { | |
lastSpaceIndex = input.indexOf(' ', offset) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2021-04-05T17:44:25.724Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author Atanas Vasilev | |
* @link http://pastebin.com/dHbqjUNy | |
* @see http://www.dotvoid.com/2010/04/detecting-utf-bom-byte-order-mark/ | |
* @version 1.1 | |
*/ | |
// SETTINGS |