python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Understanding New Javascript Ternary Condition Convention
I don't know this condition convention in JS(!params?.q). I know the ternary condition but I don't understand this. Can anyone provide insights on this or what should I learn to understand similar con...
Mave7
Votes: 0
Answers: 1
Property 'target' does not exist on type error using {...props}
I'm making a custom link component and passing target="_blank" and rel="noreferrer" as props and using {...props} assigned to the <a>.
const ExternalLinkTwo: React.FC<{
...
user18042993
Votes: 0
Answers: 1
Insert a character in a string based on character placement in another string
I have two strings:
const originalSegments = '[ABC][XYZ][123][789]';
const format = 'X-XX-X';
I need to create a new string where the dashes are inserted between sets of characters in originalSegmen...
lane
Votes: 0
Answers: 3
how to handle Destructuring assignment if the property is not available?
i have a function to format the date object (especially zip code (converting from 12345-678 to 12345)), because i need to compare 2 address objects(for ex: physical address and mailing address ).
for...
sravan ganji
Votes: 0
Answers: 0