build
This commit is contained in:
parent
aa7953e452
commit
f8dabeb40c
75 changed files with 712 additions and 57 deletions
9
dist-import/variaveisComuns.js
Normal file
9
dist-import/variaveisComuns.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
export const esperar = (ms) => new Promise((resolve) => setTimeout(() => resolve(true), ms));
|
||||
/**
|
||||
* Usado para retronat o no de uma variável, deve ser usado dentro de um objeto
|
||||
* const nomex = {a: 1, b: 2}
|
||||
* nomeVariavel({nomex}) // retorna "nomex"
|
||||
* @param v
|
||||
* @returns
|
||||
*/
|
||||
export const nomeVariavel = (v) => Object.keys(v).join("/");
|
||||
Loading…
Add table
Add a link
Reference in a new issue