What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-25 06:18:06
what is user acceptance testing
What is UAT? User Acceptance Testing (UAT) is a type of testing performed by the end user or the client to verify/accept the software system before moving the software application to the production environment. UAT is done in the final phase of testi... Add solution -
Javascript 2021-10-24 09:32:09
javascript callback
/* A callback function is a function passed into another function as an argument, which is then invoked inside the outer function to complete some kind of routine or action. */ function greeting(name) { alert('Hello ' + name); } function processUserIn... Add solution -
Other 2021-10-22 19:26:11
bash function return value
Although Bash has a return statement, the only thing you can specify with it is the function's own exit status (a value between 0 and 255, 0 meaning "success"). So return is not what you want. You might want to convert your return statement to ... Add solution -
Javascript 2021-10-21 19:29:08
"withAuth.js" in react
1 : import React from 'react'2 : import hoistStatics from 'hoist-non-react-statics'3 : import { validateStringOrFunction } from './helpers'4 : 5 : const defaults = {6 : authenticatedSelector: p => Boolean(p.isAuthenticated),7 : authenticatingSelect... Add solution -
Javascript 2021-10-21 15:06:13
ellipses in js
function sum(x, y, z) { return x + y + z; } const numbers = [1, 2, 3]; console.log(sum(...numbers)); // expected output: 6 console.log(sum.apply(null, numbers)); // expected output: 6 /* Spread syntax (...) allows an iterable such as an array expres... Add solution -
Javascript 2021-10-21 12:31:12
what are callbacks
/* tl;dr: Callbacks are a way to force one function to complete, before running another. Used for asynchronus programming. */ // Consider this example: names = ['Anthony', 'Betty', 'Camie'] function addName(name, callback){ setTimeout(function(){ ... Add solution
Best helpers
Sara J
+5
Loronzo
+5
Rusnasonov
+5
MopMop
+5
Zulu
+5
Mai0003c
+5
Umesh
+5
DJaye
+5
Lupa
+5
Brad Thomas
+5
Carla Walker
+5
MGA
+5
Dan Nestor
+5
Shivam Patel
+5
Calista
+5
Nerrolken
+5
JBeez
+5
Heewoo Kim
+5
Hassaan
+5
RLHanout
+5
Pranasas
+5
OiciTrap
+5
Pc1oad1etter
+5
Poster
+5
Elenaher
+5
Amit Pareek
+5
Ian Goldby
+5
Ex Umbris
+5
Vermilions
+5