Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
isUniqueChar
//JavaScript-C24.2.0 (SpiderMonkey) print(isUniqueChar('Finally')); function isUniqueChar(str) { let map = new Object(); for (let i = 0; i < str.length; i++) { if (map.hasOwnProperty(str[i])) { return false } map[str[i]] = true; } return true }
run
|
edit
|
history
|
help
0
Time Waister
class Node
Change format Numbers
Tiny Hannoi
Set(), union, intersection, difference
p
Prime Number
More testing with JS
2k Dreamin
новинка