issues Search Results · repo:jsartisan/frontend-challenges language:TypeScript
Filter by
189 results
(84 ms)189 results
injsartisan/frontend-challenges (press backspace or delete to remove)styles.css
body {
font-family: sans-serif;
-webkit-font-smoothing: auto;
-moz-font-smoothing: auto;
-moz-osx-font-smoothing: grayscale;
font-smoothing: auto;
text-rendering: optimizeLegibility; ...
1
answer
vanilla
mhdtjk
- Opened 22 days ago
- #355
index.ts
export function twoSum(nums: number[], target: number): number[] {
const countMap: Record number, number = {};
for (let i = 0; i nums.length; i++) {
countMap[nums[i]] = i;
}
...
188
answer
typescript
jsartisan
- Opened on Jan 26
- #354
Info
difficulty: easy
title: Promise Chain Output 2
type: quiz
tags: javascript, promises
Question
!--question-start--
What will be the order of the following code:
Promise.resolve(1)
.then((val) ...
new-challenge
quiz
jsartisan
- 1
- Opened on Dec 26, 2024
- #352
Info
difficulty: easy
title: Promise Chain Output
type: quiz
tags: javascript, promises
Question
!--question-start--
What will be the order of the following code:
Promise.resolve(1)
.then(() = 2) ...
new-challenge
quiz
jsartisan
- 1
- Opened on Dec 26, 2024
- #350
Info
difficulty: easy
title: Promise Resolution Order
type: quiz
tags: javascript, promises
Question
!--question-start--
What will be the order of following code:
new Promise((resolve, reject) = ...
new-challenge
quiz
jsartisan
- 1
- Opened on Dec 26, 2024
- #348
Info
difficulty: easy
title: Promise Order
type: quiz
tags: javascript, promises
Question
!--question-start--
What will be the order of following code:
console.log(1)
const promise = new Promise((resolve) ...
new-challenge
quiz
jsartisan
- 1
- Opened on Dec 26, 2024
- #346
index.js
export function debounce(func, delay) {
// write your code here
let timer;
return function(...args) {
if(timer) clearTimeout(timer)
timer = setTimeout(() = {
func.apply(this, ...
6
answer
javascript
DevSecArj
- Opened on Dec 24, 2024
- #345
index.ts
export function topKFrequent(nums: number[], k: number): number[] {
const frequencyMap = new Map number, number ();
nums.map((num) = {
const count = frequencyMap.has(num) ? frequencyMap.get(num) ...
194
answer
typescript
jsartisan
- Opened on Dec 16, 2024
- #344
index.js
export function instanceOfClass(obj, targetClass) {
if(typeof obj !== object || obj==null){
return false
}
const instace = Object.getPrototypeOf(obj);
if( instace === targetClass.prototype){ ...
32
answer
javascript
Ashish-j-shetty
- Opened on Nov 29, 2024
- #343
styles.css
.parent {
height: 200px;
width: 200px;
border: 2px solid black;
background-color: yellow;
overflow: hidden;
position: relative;
}
.rocket {
height: 50px;
width: 50px;
font-size: ...
340
answer
static
jsartisan
- 1
- Opened on Nov 11, 2024
- #342

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.