electricalComponents
active​
Description​
Method that generate random electrical active components
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.electricalComponents.active());
- result
'JFET'
passive​
Description​
Method that generate random electrical passive components
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.electricalComponents.passive());
- result
'Accelerometer'
electromechanical​
Description​
Method that generate random electrical electromechanical components
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.electricalComponents.electromechanical());
- result
'Fuse'