
CommunityNews
How to write your first unit test in JavaScript
How to write your first unit test in JavaScript | Snyk.
Testing code is the first step to making it secure. One of the best ways to do this is to use unit tests, ensuring that each of the smaller functions within an app behave as they should — especially when the app receives edge-case or invalid inputs, or inputs that are potentially harmful.
Read in full here:
This thread was posted by one of our members via one of our news source trackers.
Popular Frontend topics
New

At Vouch.io, ClojureScript accelerates and radically simplifies the development of a new kind of digital key for one the largest automoti...
New

GitHub - eeue56/derw: An Elm-inspired language that transpiles to TypeScript.
An Elm-inspired language that transpiles to TypeScript - G...
New

WebAssembly (wasm) allows code written in languages other than JavaScript to run on browsers. If you haven’t been paying attention, all t...
New

The importance of designing accessibility in software from the ground up has only been emphasized by the pandemic, and as a consequence F...
New

The State of WebAssembly 2022.
WebAssembly has gone through quite a transformation this last year, while the wasm language landscape is ...
New

Learning HTML was too hard so I made a compiler instead.
This is the 10-year story of how I struggled to learn how to code.
New

ESLint equivalents in Elm.
Comparing ESLint functionality and the equivalents in the Elm ecosystem
New

TIL: You Can Access A User’s Camera with Just HTML.
So that’s the HTML capture attribute. It’s a pretty cool way to add a nicer user exp...
New

Threads and messages with Rust and WebAssembly.
How and why to share threads in WASM workers (and when not to)
New
Other popular topics

Algorithms and data structures are much more than abstract concepts. Mastering them enables you to write code that runs faster and more e...
New

Any thoughts on Svelte?
Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue...
New

Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New

I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me.
I think the Planck and the Preonic (o...
New

Do the test and post your score :nerd_face:
:keyboard:
If possible, please add info such as the keyboard you’re using, the layout (Qw...
New

Small essay with thoughts on macOS vs. Linux:
I know @Exadra37 is just waiting around the corner to scream at me “I TOLD YOU SO!!!” but I...
New

Think Again 50% Off Sale »
The theme of this sale is new perspectives on familiar topics.
Enter coupon code ThinkAgain2021 at checkout t...
New

Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
New

Author Spotlight
Erin Dees
@undees
Welcome to our new author spotlight! We had the pleasure of chatting with Erin Dees, co-author of ...
New

Will Swifties’ war on AI fakes spark a deepfake porn reckoning?
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /onivim
- /svelte
- /typescript
- /crystal
- /kotlin
- /c-plus-plus
- /tailwind
- /gleam
- /ocaml
- /react
- /flutter
- /elm
- /vscode
- /ash
- /opensuse
- /centos
- /html
- /php
- /deepseek
- /zig
- /scala
- /textmate
- /lisp
- /sublime-text
- /nixos
- /debian
- /react-native
- /agda
- /kubuntu
- /arch-linux
- /revery
- /django
- /ubuntu
- /spring
- /manjaro
- /nodejs
- /diversity
- /lua
- /julia
- /slackware
- /c
- /neovim