1# Name 2 3Class `Napi::Name` inherits from class [`Napi::Value`][]. 4 5Names are JavaScript values that can be used as a property name. There are two 6specialized types of names supported in Node.js Addon API [`Napi::String`](string.md) 7and [`Napi::Symbol`](symbol.md). 8 9## Methods 10 11### Constructor 12```cpp 13Napi::Name::Name(); 14``` 15 16Returns an empty `Napi::Name`. 17 18```cpp 19Napi::Name::Name(napi_env env, napi_value value); 20``` 21- `[in] env` - The environment in which to create the array. 22- `[in] value` - The primitive to wrap. 23 24Returns a `Napi::Name` created from the JavaScript primitive. 25 26Note: 27The value is not coerced to a string. 28 29[`Napi::Value`]: ./value.md 30