phuocng/frontend-tips
Super tiny, quick tips, tricks and best practices of front-end development
MDXMIT
Issues
- 0
- 5
- 2
<kbd> isn't being rendered properly
#169 opened by dylankenneally - 2
<video> isn't being rendered properly
#170 opened by dylankenneally - 0
[Tip] Clone an array
#23 opened by phuocng - 0
[Fun] Why does 'hello'.charAt(true) return e?
#24 opened by phuocng - 0
Running the last command
#4 opened by phuocng - 1
Use the template literal syntax in ES6
#15 opened by phuocng - 1
- 1
Visualize elements on page with outline
#10 opened by phuocng - 1
Swap 2 variables
#3 opened by phuocng - 1
Use _ to represent number
#2 opened by phuocng - 1
- 1
[Tip] Override the behavior of instanceof
#19 opened by phuocng - 1
A note on preventing default handler with jQuery
#16 opened by phuocng - 1
- 1
[Tip] wbr element
#25 opened by phuocng - 1
[Good practice] Always pass the radix to parseInt
#21 opened by phuocng - 1
[Tip] Put + at the beginning of function
#18 opened by phuocng - 1
Prefix class name with `js-`
#11 opened by phuocng - 0
- 0
- 0
Use an underscore to name unused argument
#9 opened by phuocng - 0
- 0
Wrap function body in parentheses
#8 opened by phuocng - 0
- 0
Merge different arrays
#13 opened by phuocng - 1
[Tip] Convert string to number
#5 opened by phuocng - 1
Get characters of a string
#1 opened by phuocng